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

2019-02-25 Thread Jiri Olsa
On Mon, Feb 25, 2019 at 05:28:58AM -0800, Andi Kleen wrote: > > can't see the time ranges in the menu.. what's the path > > to get them listed? > > You need to use --sort time,overhead,sym > > Without time sorting there are no available ranges. I did, must be those hacks I put in to compile it,

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

2019-02-25 Thread Andi Kleen
> can't see the time ranges in the menu.. what's the path > to get them listed? You need to use --sort time,overhead,sym Without time sorting there are no available ranges. -Andi

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

2019-02-25 Thread Jiri Olsa
On Sun, Feb 24, 2019 at 07:37:18AM -0800, Andi Kleen wrote: SNIP > + endtime += 1*100; > + } > + timestamp__scnprintf_usec(starttime, start, sizeof start); > + timestamp__scnprintf_usec(endtime, end, sizeof end); > + n += snp

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

2019-02-25 Thread Jiri Olsa
On Sun, Feb 24, 2019 at 07:37:18AM -0800, Andi Kleen wrote: > 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. > >