Skip to contentSkip to conversation

perf docs: Correct typo of event_sources

PATCH Applied Ian Rogers 3 participants 3 messages Jun 3, 2022 perf events

lore
Share & tools
lore

Ian Rogers

author reviewer
#0 lore raw

PATCH 1/1 perf docs: Correct typo of event_sources

The sysfs directory is called event_source.

---
 tools/perf/Documentation/perf-record.txt | 2 +-
 tools/perf/Documentation/perf-stat.txt   | 2 +-
 tools/perf/Documentation/perf-top.txt    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/perf/Documentation/perf-record.txt +1 -1
index b4e9ef7edfef..cf8ad50f3de1 100644
@@ -33,7 +33,7 @@ OPTIONS
         - a raw PMU event in the form of rN where N is a hexadecimal value
           that represents the raw register encoding with the layout of the
           event control registers as described by entries in
-          /sys/bus/event_sources/devices/cpu/format/*.
+          /sys/bus/event_source/devices/cpu/format/*.
 
         - a symbolic or raw PMU event followed by an optional colon
 	  and a list of event modifiers, e.g., cpu-cycles:p.  See the
tools/perf/Documentation/perf-stat.txt +1 -1
index 8d1cde00b8d6..d8a33f4a47c5 100644
@@ -39,7 +39,7 @@ report::
 	- a raw PMU event in the form of rN where N is a hexadecimal value
 	  that represents the raw register encoding with the layout of the
 	  event control registers as described by entries in
-	  /sys/bus/event_sources/devices/cpu/format/*.
+	  /sys/bus/event_source/devices/cpu/format/*.
 
         - a symbolic or raw PMU event followed by an optional colon
 	  and a list of event modifiers, e.g., cpu-cycles:p.  See the
tools/perf/Documentation/perf-top.txt +1 -1
index cac3dfbee7d8..c1fdba26bf53 100644
@@ -41,7 +41,7 @@ Default is to monitor all CPUS.
 	(use 'perf list' to list all events) or a raw PMU event in the form
 	of rN where N is a hexadecimal value that represents the raw register
 	encoding with the layout of the event control registers as described
-	by entries in /sys/bus/event_sources/devices/cpu/format/*.
+	by entries in /sys/bus/event_source/devices/cpu/format/*.
 
 -E <entries>::
 --entries=<entries>::
Signature · 1 line
2.36.1.255.ge46751e96f-goog
maintainer Applied
#2 lore raw

Em Fri, Jun 03, 2022 at 11:30:00AM +0530, Sandipan Das escreveu:

Quoted 12 lines · Ian Rogers
Quoted 10 lines

The sysfs directory is called event_source.

---
 tools/perf/Documentation/perf-record.txt | 2 +-
 tools/perf/Documentation/perf-stat.txt   | 2 +-
 tools/perf/Documentation/perf-top.txt    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Quoted 5 lines
Quoted 1 line

[...]

Thanks for fixing these.

Thanks, applied.

- Arnaldo