summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
AgeCommit message (Expand)Author
2023-08-24perf scripts python: Add support for input args in gecko scriptAnup Sharma
2023-07-28perf scripts python: Add command execution for gecko scriptAnup Sharma
2022-12-14perf script: Introduce task analyzer python scriptHagen Paul Pfeifer
2021-09-10perf scripts python: Fix passing arguments to stackcollapse reportMichael Petlan
2021-05-25perf scripts python: intel-pt-events.py: Add branches to scriptAdrian Hunter
2020-05-05perf flamegraph: Use /bin/bash for report and record scriptsArnaldo Carvalho de Melo
2020-04-16perf script: Add flamegraph.py scriptAndreas Gerstmayr
2018-06-06perf script powerpc: Python script for hypervisor call statisticsRavi Bangoria
2018-01-12perf script python: Add script to profile and resolve physical mem typeKan Liang
2017-08-15perf script python: Add support for exporting to sqlite3Adrian Hunter
2017-06-30perf intel-pt: Add example script for power events and PTWRITEAdrian Hunter
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini
2015-08-28perf scripts python: Add new compaction-times scriptTony Jones
2014-11-03perf tools: Add call information to Python exportAdrian Hunter
2014-10-29perf script: Add Python script to export to postgresqlAdrian Hunter
2014-06-25perf scripts: Fallback to syscalls:* when raw_syscalls:* is not availableDaniel Bristot de Oliveira
2012-09-17perf scripts: Add event_analyzing_sample-record/reportFeng Tang
2011-09-29perf script: Add drop monitor scriptNeil Horman
2010-12-25perf script: Finish the rename from trace to scriptArnaldo Carvalho de Melo
2010-11-10perf trace scripting: remove system-wide param from shell scriptsTom Zanussi
2010-10-26perf python scripting: Add futex-contention scriptArnaldo Carvalho de Melo
2010-10-23perf trace: Use $PERF_EXEC_PATH in canned report scriptsBen Hutchings
2010-09-07perf: Add a script to show packets processingKoki Sanagi
2010-08-02perf: New migration tool overviewFrederic Weisbecker
2010-05-10perf/trace/scripting: syscall-counts script cleanupTom Zanussi
2010-05-10perf/trace/scripting: syscall-counts-by-pid script cleanupTom Zanussi
2010-05-10perf/trace/scripting: failed-syscalls-by-pid script cleanupTom Zanussi
2010-04-30perf: Remove leftover useless options to record trace events from scriptsFrederic Weisbecker
2010-04-14perf trace/scripting: Enable scripting shell scripts for live modeTom Zanussi
2010-04-14perf trace/scripting: Add rwtop and sctop scriptsTom Zanussi
2010-02-25perf/scripts: Add syscall tracing scriptsTom Zanussi
sh Pallipadi <venki@google.com> Cc: Pierre Tardy <tardyp@gmail.com> Cc: Nikhil Rao <ncrao@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> 2010-05-10perf/trace/scripting: syscall-counts script cleanupTom Zanussi A small fix for the syscall counts script: - silence the match output in the shell script Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1273466820-9330-10-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> 2010-05-10perf/trace/scripting: syscall-counts-by-pid script cleanupTom Zanussi A small fix for the syscall counts by pid script: - silence the match output in the shell script Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1273466820-9330-9-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> 2010-05-10perf/trace/scripting: failed-syscalls-by-pid script cleanupTom Zanussi A small fixe for the failed syscalls by pid script: - silence the match output in the shell script Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1273466820-9330-8-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> 2010-04-30perf: Remove leftover useless options to record trace events from scriptsFrederic Weisbecker -f, -c 1, -R are now useless for trace events recording, moreover -M is useless and event hurts. Remove them from the documentation examples and from record scripts. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Tom Zanussi <tzanussi@gmail.com> 2010-04-14perf trace/scripting: Enable scripting shell scripts for live modeTom Zanussi It should be possible to run any perf trace script in 'live mode'. This requires being able to pass in e.g. '-i -' or other args, which the current shell scripts aren't equipped to handle. In a few cases, there are required or optional args that also need special handling. This patch makes changes the current set of shell scripts as necessary. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org Cc: k-keiichi@bx.jp.nec.com Cc: acme@ghostprotocols.net LKML-Reference: <1270184365-8281-11-git-send-email-tzanussi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> 2010-04-14perf trace/scripting: Add rwtop and sctop scriptsTom Zanussi A couple of scripts, one in Python and the other in Perl, that demonstrate 'live mode' tracing. For each, the output of the perf event stream is fed continuously to the script, which continuously aggregates the data and reports the current results every 3 seconds, or at the optionally specified interval. After the current results are displayed, the aggregations are cleared and the cycle begins anew. To run the scripts, simply pipe the output of the 'perf trace record' step as input to the corresponding 'perf trace report' step, using '-' as the filename to -o and -i: $ perf trace record sctop -o - | perf trace report sctop -i - Also adds clear_term() utility functions to the Util.pm and Util.py utility modules, for use by any script to clear the screen. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org Cc: k-keiichi@bx.jp.nec.com Cc: acme@ghostprotocols.net LKML-Reference: <1270184365-8281-10-git-send-email-tzanussi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> 2010-02-25perf/scripts: Add syscall tracing scriptsTom Zanussi Adds a set of scripts that aggregate system call totals and system call errors. Most are Python scripts that also test basic functionality of the new Python engine, but there's also one Perl script added for comparison and for reference in some new Documentation contained in a later patch. 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-8-git-send-email-tzanussi@gmail.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>