mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
ARC: perf: fix misleading comment about pmu vs counter stop
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
This commit is contained in:
parent
7e5b06b8c1
commit
1b2a62beca
@ -328,7 +328,7 @@ static void arc_pmu_stop(struct perf_event *event, int flags)
|
||||
}
|
||||
|
||||
if (!(event->hw.state & PERF_HES_STOPPED)) {
|
||||
/* stop ARC pmu here */
|
||||
/* stop hw counter here */
|
||||
write_aux_reg(ARC_REG_PCT_INDEX, idx);
|
||||
|
||||
/* condition code #0 is always "never" */
|
||||
|
Loading…
Reference in New Issue
Block a user