aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-trace.txt
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2009-12-15 02:53:38 -0600
committerIngo Molnar <mingo@elte.hu>2009-12-15 10:31:32 +0100
commit4b9c0c596ea826ef784eb83f663c5351ed01ba6d (patch)
tree8e22badb64e744d61d2ed4f6d12a0ebeb05a61c3 /tools/perf/Documentation/perf-trace.txt
parent8f11d85a0e7e9025acea7493e6864089c8b52f42 (diff)
downloadkernel_samsung_smdk4412-4b9c0c596ea826ef784eb83f663c5351ed01ba6d.zip
kernel_samsung_smdk4412-4b9c0c596ea826ef784eb83f663c5351ed01ba6d.tar.gz
kernel_samsung_smdk4412-4b9c0c596ea826ef784eb83f663c5351ed01ba6d.tar.bz2
perf trace/scripting: List available scripts
Lists the available perf trace scripts, one per line e.g.: root@tropicana:~# perf trace -l List of available trace scripts: workqueue-stats workqueue stats (ins/exe/create/destroy) wakeup-latency system-wide min/max/avg wakeup latency rw-by-file <comm> r/w activity for a program, by file check-perf-trace useless but exhaustive test script rw-by-pid system-wide r/w activity To be consistent with the other listing options in perf, the current latency trace option was changed to '-L', and '-l' is now used to access the script listing as: To create the list, it searches each scripts/*/bin directory for files ending with "-report" and reads information found in certain comment lines contained in those shell scripts: - if the comment line starts with "description:", the rest of the line is used as a 'half-line' description. To keep each line in the list to a single line, the description should be limited to 40 characters (the rest of the line contains the script name and args) - if the comment line starts with "args:", the rest of the line names the args the script supports. Required args should be surrounded by <> brackets, optional args by [] brackets. The current scripts in scripts/perl/bin have also been updated with description: and args: comments. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org LKML-Reference: <1260867220-15699-5-git-send-email-tzanussi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/Documentation/perf-trace.txt')
0 files changed, 0 insertions, 0 deletions