path: root/tools/perf/scripts/perl/
AgeCommit message (Collapse)AuthorFilesLines
2010-12-25perf script: Finish the rename from trace to scriptArnaldo Carvalho de Melo1-1/+1
The scripts have calls to 'perf trace' that need to be converted to 'perf script', do it. This problem was introduced in 133dc4c. Reported-by: Torok Edwin <> Cc: Frederic Weisbecker <> Cc: Ingo Molnar <> Cc: Mike Galbraith <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Cc: Tom Zanussi <> Cc: Torok Edwin <> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <>
2009-12-15perf trace/scripting: Add support for script argsTom Zanussi1-2/+3
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 <> Cc: Cc: LKML-Reference: <> Signed-off-by: Ingo Molnar <>
2009-11-28perf trace: Add perf trace scripting support modules for PerlTom Zanussi1-0/+105
Add Perf-Trace-Util Perl module and some scripts that use it. contains Perl code to define and access flag and symbolic fields. contains general-purpose utility functions. Also adds some makefile bits to install them in libexec/perf-core/scripts/perl (or wherever perfexec_instdir points). Signed-off-by: Tom Zanussi <> Cc: Cc: Cc: Cc: LKML-Reference: <> Signed-off-by: Ingo Molnar <>