diff options
author | Jack Henschel <jackdev@mailbox.org> | 2017-08-24 09:20:22 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-28 10:05:09 -0400 |
commit | 726647d0526c5c2f3472010677122b89d9e4ef88 (patch) | |
tree | ccc05275eff9375aa3b4fb572989eb67cd1c7434 /tools/perf | |
parent | b00233b5306512a09e339d69ef5e390a77f2d302 (diff) |
perf stat: Fix path to PMU formats in documentation
As defined in tools/perf/util/pmu.c, the EVENT_SOURCE_DEVICE_PATH is
/sys/bus/event_source/devices/ (no traling 's' in event_source)
This patch corrects the path in the perf stat documentation
Signed-off-by: Jack Henschel <jackdev@mailbox.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jack Henschel <jackdev@mailbox.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: trivial@kernel.org
Link: http://lkml.kernel.org/r/20170824132022.10934-1-jackdev@mailbox.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/Documentation/perf-stat.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt index 698076313606..c37d61682dfb 100644 --- a/tools/perf/Documentation/perf-stat.txt +++ b/tools/perf/Documentation/perf-stat.txt | |||
@@ -41,13 +41,13 @@ report:: | |||
41 | 41 | ||
42 | - a symbolically formed event like 'pmu/param1=0x3,param2/' where | 42 | - a symbolically formed event like 'pmu/param1=0x3,param2/' where |
43 | param1 and param2 are defined as formats for the PMU in | 43 | param1 and param2 are defined as formats for the PMU in |
44 | /sys/bus/event_sources/devices/<pmu>/format/* | 44 | /sys/bus/event_source/devices/<pmu>/format/* |
45 | 45 | ||
46 | - a symbolically formed event like 'pmu/config=M,config1=N,config2=K/' | 46 | - a symbolically formed event like 'pmu/config=M,config1=N,config2=K/' |
47 | where M, N, K are numbers (in decimal, hex, octal format). | 47 | where M, N, K are numbers (in decimal, hex, octal format). |
48 | Acceptable values for each of 'config', 'config1' and 'config2' | 48 | Acceptable values for each of 'config', 'config1' and 'config2' |
49 | parameters are defined by corresponding entries in | 49 | parameters are defined by corresponding entries in |
50 | /sys/bus/event_sources/devices/<pmu>/format/* | 50 | /sys/bus/event_source/devices/<pmu>/format/* |
51 | 51 | ||
52 | -i:: | 52 | -i:: |
53 | --no-inherit:: | 53 | --no-inherit:: |