summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorAndi Kleen2019-03-11 15:45:00 +0100
committerArnaldo Carvalho de Melo2019-03-11 20:33:20 +0100
commite3b74de50a5f8bbfacbd772874c8b5d9220ebcdb (patch)
treecd5f1e2ee98842651dce0d25169e3a1ead031ae1 /tools/perf/Documentation
parentperf ui browser: Fix ui popup argv browser for many entries (diff)
downloadkernel-qcow2-linux-e3b74de50a5f8bbfacbd772874c8b5d9220ebcdb.tar.gz
kernel-qcow2-linux-e3b74de50a5f8bbfacbd772874c8b5d9220ebcdb.tar.xz
kernel-qcow2-linux-e3b74de50a5f8bbfacbd772874c8b5d9220ebcdb.zip
perf tools report: Add custom scripts to script menu
Add a way to define custom scripts through ~/.perfconfig, which are then added to the scripts menu. The scripts get the same arguments as 'perf script', in particular -i, --cpu, --tid. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20190311144502.15423-10-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r--tools/perf/Documentation/perf-config.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 2d0fb7613134..95054a8176a2 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -590,6 +590,14 @@ samples.*::
Define how many ns worth of time to show
around samples in perf report sample context browser.
+scripts.*::
+
+ Any option defines a script that is added to the scripts menu
+ in the interactive perf browser and whose output is displayed.
+ The name of the option is the name, the value is a script command line.
+ The script gets the same options passed as a full perf script,
+ in particular -i perfdata file, --cpu, --tid
+
SEE ALSO
--------
linkperf:perf[1]