OSDN Git Service

perf tools report: Add custom scripts to script menu
authorAndi Kleen <ak@linux.intel.com>
Mon, 11 Mar 2019 14:45:00 +0000 (07:45 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 19:33:20 +0000 (16:33 -0300)
commite3b74de50a5f8bbfacbd772874c8b5d9220ebcdb
treecd5f1e2ee98842651dce0d25169e3a1ead031ae1
parent59c24980dffbea2106fe65e64ea77834d657ee9c
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>
tools/perf/Documentation/perf-config.txt
tools/perf/ui/browsers/scripts.c