perf report: Support running scripts for current time range
authorAndi Kleen <ak@linux.intel.com>
Mon, 11 Mar 2019 14:44:56 +0000 (07:44 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 19:33:19 +0000 (16:33 -0300)
commit1d6c49df74b0706af13a7d707638f0db374eaf88
tree8cdd2636ebadce35f50c906af9c3b2bd9b294372
parent3723908d05834c76fd5cc9ecd17b0851342e1df4
perf report: Support running scripts for current time range

When using the time sort key, add new context menus to run scripts for
only the currently selected time range. Compute the correct range for
the selection add pass it as the --time option to perf script.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190311144502.15423-6-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c