diff options
author | Vineet Gupta <vgupta@kernel.org> | 2021-12-16 13:33:45 -0800 |
---|---|---|
committer | Vineet Gupta <vineetg@rivosinc.com> | 2021-12-28 19:48:49 -0800 |
commit | 1b2a62becacef79c2340ba39f662cfc313b72fb6 (patch) | |
tree | aa31a71c75d4ad06e51c8522203366c1312d886c /arch/arc | |
parent | 7e5b06b8c1f8f58fa7b7bcec3ccf490ae6f0810e (diff) |
ARC: perf: fix misleading comment about pmu vs counter stop
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c index f5dd799ddb9e..35e5fe708840 100644 --- a/arch/arc/kernel/perf_event.c +++ b/arch/arc/kernel/perf_event.c @@ -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" */ |