Skip to content

Commit 1b2a62b

Browse files
vineetgarcVineet Gupta
authored andcommitted
ARC: perf: fix misleading comment about pmu vs counter stop
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
1 parent 7e5b06b commit 1b2a62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/kernel/perf_event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ static void arc_pmu_stop(struct perf_event *event, int flags)
328328
}
329329

330330
if (!(event->hw.state & PERF_HES_STOPPED)) {
331-
/* stop ARC pmu here */
331+
/* stop hw counter here */
332332
write_aux_reg(ARC_REG_PCT_INDEX, idx);
333333

334334
/* condition code #0 is always "never" */

0 commit comments

Comments
 (0)