Skip to content

Commit

Permalink
perf/scripts: Add perf-trace-python Documentation
Browse files Browse the repository at this point in the history
Also small update to perf-trace-perl and perf-trace docs.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Keiichi KII <k-keiichi@bx.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1264580883-15324-13-git-send-email-tzanussi@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
  • Loading branch information
Tom Zanussi authored and Frederic Weisbecker committed Feb 25, 2010
1 parent 44ad9cd commit cff68e5
Show file tree
Hide file tree
Showing 3 changed files with 636 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/perf/Documentation/perf-trace-perl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ perf-trace-perl - Process trace data with a Perl script
SYNOPSIS
--------
[verse]
'perf trace' [-s [lang]:script[.ext] ]
'perf trace' [-s [Perl]:script[.pl] ]

DESCRIPTION
-----------
Expand Down Expand Up @@ -213,6 +213,7 @@ Various utility functions for use with perf trace:
nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs
nsecs_str($nsecs) - returns printable string in the form secs.nsecs
avg($total, $n) - returns average given a sum and a total number of values
syscall_name($id) - returns the syscall name for the specified syscall_nr

SEE ALSO
--------
Expand Down
Loading

0 comments on commit cff68e5

Please sign in to comment.