]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc62987c68d090697a3120de5cf76f5afdb8f7a7a
tree8cdd2636ebadce35f50c906af9c3b2bd9b294372
parent5b7321425f3505032e8f18b1bc60a1fdf387dc00
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