Re: [PATCH v3 07/11] perf tools report: Support running scripts for current time range

2019-03-04 Thread Jiri Olsa
On Thu, Feb 28, 2019 at 10:35:46AM -0800, Andi Kleen wrote: SNIP > +add_script_opt(struct hist_browser *browser, > +struct popup_action *act, char **optstr, > +struct thread *thread, struct symbol *sym) > +{ > + int n, j; > + struct hist_entry *he; > + > + n =

[PATCH v3 07/11] perf tools report: Support running scripts for current time range

2019-02-28 Thread Andi Kleen
From: Andi Kleen 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 --- v2: Use symbol_conf.time_quantum v3: Work