projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5b06b
)
ARC: perf: fix misleading comment about pmu vs counter stop
author
Vineet Gupta
<vgupta@kernel.org>
Thu, 16 Dec 2021 21:33:45 +0000
(13:33 -0800)
committer
Vineet Gupta
<vineetg@rivosinc.com>
Wed, 29 Dec 2021 03:48:49 +0000
(19:48 -0800)
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
arch/arc/kernel/perf_event.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/perf_event.c
b/arch/arc/kernel/perf_event.c
index f5dd799ddb9e6d0d23ad406b8e3ddb40604aa738..35e5fe7088406cfcd4c7181ca7c40986607792df 100644
(file)
--- 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" */