diff options
author | SeongJae Park <sj38.park@gmail.com> | 2017-05-30 07:18:25 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-07 19:36:12 -0400 |
commit | 14fc42fa1b3e7ea5160c84d0e686a3a0c1ffe619 (patch) | |
tree | 04f77472c007d85645551ff62c3119a4dbcbc38b /tools/perf | |
parent | 1bf8d5a4a5da19b1f6e7958fe67db4118fa7a1c1 (diff) |
perf script python: Remove dups in documentation examples
Few shell command examples in perf-script-python.txt has few nitpicks
include:
- tools/perf/scripts/python directory listing command is unnecessarily
repeated.
- few examples contain additional information in command prompt
unnecessarily and inconsistently.
This commit fixes them to enhance readability of the document.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Fixes: cff68e582237 ("perf/scripts: Add perf-trace-python Documentation")
Link: http://lkml.kernel.org/r/20170530111827.21732-4-sj38.park@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/Documentation/perf-script-python.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/perf/Documentation/perf-script-python.txt b/tools/perf/Documentation/perf-script-python.txt index 378783fe2b6b..51ec2d20068a 100644 --- a/tools/perf/Documentation/perf-script-python.txt +++ b/tools/perf/Documentation/perf-script-python.txt | |||
@@ -332,7 +332,7 @@ right place, you can have your script listed alongside the other | |||
332 | scripts listed by the 'perf script -l' command e.g.: | 332 | scripts listed by the 'perf script -l' command e.g.: |
333 | 333 | ||
334 | ---- | 334 | ---- |
335 | root@tropicana:~# perf script -l | 335 | # perf script -l |
336 | List of available trace scripts: | 336 | List of available trace scripts: |
337 | wakeup-latency system-wide min/max/avg wakeup latency | 337 | wakeup-latency system-wide min/max/avg wakeup latency |
338 | rw-by-file <comm> r/w activity for a program, by file | 338 | rw-by-file <comm> r/w activity for a program, by file |
@@ -381,8 +381,6 @@ source tree: | |||
381 | 381 | ||
382 | ---- | 382 | ---- |
383 | # ls -al kernel-source/tools/perf/scripts/python | 383 | # ls -al kernel-source/tools/perf/scripts/python |
384 | |||
385 | root@tropicana:/home/trz/src/tip# ls -al tools/perf/scripts/python | ||
386 | total 32 | 384 | total 32 |
387 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:30 . | 385 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:30 . |
388 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:29 .. | 386 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:29 .. |
@@ -397,7 +395,7 @@ otherwise your script won't show up at run-time), 'perf script -l' | |||
397 | should show a new entry for your script: | 395 | should show a new entry for your script: |
398 | 396 | ||
399 | ---- | 397 | ---- |
400 | root@tropicana:~# perf script -l | 398 | # perf script -l |
401 | List of available trace scripts: | 399 | List of available trace scripts: |
402 | wakeup-latency system-wide min/max/avg wakeup latency | 400 | wakeup-latency system-wide min/max/avg wakeup latency |
403 | rw-by-file <comm> r/w activity for a program, by file | 401 | rw-by-file <comm> r/w activity for a program, by file |