linux-stable/tools/perf/scripts/perl
Tom Zanussi 586bc5cce8 perf trace/scripting: Add support for script args
One oversight of the original scripting_ops patch was a lack of
support for passing args to handler scripts.  This adds
argc/argv to the start_script() scripting_op, and changes the
rw-by-file script to take 'comm' arg rather than the 'perf'
value currently hard-coded.  It also takes the opportunity to do
some related minor cleanup.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
LKML-Reference: <1260867220-15699-2-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-15 10:31:31 +01:00
..
bin perf trace/scripting: Add support for script args 2009-12-15 10:31:31 +01:00
Perf-Trace-Util perf trace/scripting: Add Fedora libperl install note to doc 2009-11-30 09:04:01 +01:00
check-perf-trace.pl perf trace: Add interface to access perf data from Perl handlers 2009-11-28 10:04:27 +01:00
rw-by-file.pl perf trace/scripting: Add support for script args 2009-12-15 10:31:31 +01:00
rw-by-pid.pl
wakeup-latency.pl
workqueue-stats.pl