]> Git Repo - linux.git/commit - tools/perf/builtin-trace.c
perf trace/scripting: Add support for script args
authorTom Zanussi <[email protected]>
Tue, 15 Dec 2009 08:53:35 +0000 (02:53 -0600)
committerIngo Molnar <[email protected]>
Tue, 15 Dec 2009 09:31:31 +0000 (10:31 +0100)
commit586bc5cce88be993dad584c3936c49f945368551
treef335951b59c1106918ced48a6e1242e131808225
parentc249a4ce796b30b742bb4854bf3039ced12ef8e5
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <1260867220[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/builtin-trace.c
tools/perf/scripts/perl/bin/rw-by-file-report
tools/perf/scripts/perl/rw-by-file.pl
tools/perf/util/trace-event-perl.c
tools/perf/util/trace-event.h
This page took 0.04057 seconds and 4 git commands to generate.