Skip to content

Commit 8db4308

Browse files
captain5050acmel
authored andcommitted
perf docs: Correct typo of event_sources
The sysfs directory is called event_source. Before: $ ls -la /sys/bus/event_sources/devices/cpu/format/ ls: cannot access '/sys/bus/event_sources/devices/cpu/format/': No such file or directory $ After: $ ls -la /sys/bus/event_source/devices/cpu/format/ total 0 drwxr-xr-x. 2 root root 0 Jun 2 15:36 . drwxr-xr-x. 6 root root 0 Jun 2 15:35 .. -r--r--r--. 1 root root 4096 Jun 2 15:36 any -r--r--r--. 1 root root 4096 Jun 2 15:36 cmask -r--r--r--. 1 root root 4096 Jun 2 15:36 edge -r--r--r--. 1 root root 4096 Jun 2 15:36 event -r--r--r--. 1 root root 4096 Jun 2 15:36 frontend -r--r--r--. 1 root root 4096 Jun 2 15:36 inv -r--r--r--. 1 root root 4096 Jun 2 15:36 ldlat -r--r--r--. 1 root root 4096 Jun 2 15:36 offcore_rsp -r--r--r--. 1 root root 4096 Jun 2 15:36 pc -r--r--r--. 1 root root 4096 Jun 2 15:36 umask $ Reviewed-by: Sandipan Das <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Bayduraev <[email protected]> Cc: Alyssa Ross <[email protected]> Cc: German Gomez <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jin Yao <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Joshua Martinez <[email protected]> Cc: Kan Liang <[email protected]> Cc: Like Xu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Zhengjun Xing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reported-by: Kevin Nomura <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent e69a5c0 commit 8db4308

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/perf/Documentation/perf-record.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ OPTIONS
3333
- a raw PMU event in the form of rN where N is a hexadecimal value
3434
that represents the raw register encoding with the layout of the
3535
event control registers as described by entries in
36-
/sys/bus/event_sources/devices/cpu/format/*.
36+
/sys/bus/event_source/devices/cpu/format/*.
3737

3838
- a symbolic or raw PMU event followed by an optional colon
3939
and a list of event modifiers, e.g., cpu-cycles:p. See the

tools/perf/Documentation/perf-stat.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ report::
3939
- a raw PMU event in the form of rN where N is a hexadecimal value
4040
that represents the raw register encoding with the layout of the
4141
event control registers as described by entries in
42-
/sys/bus/event_sources/devices/cpu/format/*.
42+
/sys/bus/event_source/devices/cpu/format/*.
4343

4444
- a symbolic or raw PMU event followed by an optional colon
4545
and a list of event modifiers, e.g., cpu-cycles:p. See the

tools/perf/Documentation/perf-top.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Default is to monitor all CPUS.
4141
(use 'perf list' to list all events) or a raw PMU event in the form
4242
of rN where N is a hexadecimal value that represents the raw register
4343
encoding with the layout of the event control registers as described
44-
by entries in /sys/bus/event_sources/devices/cpu/format/*.
44+
by entries in /sys/bus/event_source/devices/cpu/format/*.
4545

4646
-E <entries>::
4747
--entries=<entries>::

0 commit comments

Comments
 (0)