Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 08:50:07AM -0700, Stephane Eranian wrote: > > > When we get an exact IP (using PEBS) and were sampling a data related > > > event (say L1 misses), we can get the data type from the instruction > > > itself; that is, through DWARF. We _know_ what type (structure::member) > >

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Stephane Eranian
Arnaldo, On Tue, Sep 4, 2018 at 6:42 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Sep 04, 2018 at 09:10:49AM +0200, Peter Zijlstra escreveu: > > On Mon, Sep 03, 2018 at 07:45:48PM -0700, Stephane Eranian wrote: > > > A few weeks ago, you had asked if I had more requests for the perf tool. > > >

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 04:17:24PM +0200, Peter Zijlstra escreveu: > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > Then I need to get the DW_AT_location stuff parsed in pahole, so > > that with those offsets (second column, ending with :) with hits (first > > col

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > Then I need to get the DW_AT_location stuff parsed in pahole, so > that with those offsets (second column, ending with :) with hits (first > column, there its local period, but we can ask for some specific metric > [1

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 03:58:35PM +0200, Jiri Olsa escreveu: > On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is complet

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Jiri Olsa
On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is completely useless. I guess perf record on any other event would work in A

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > So, use 'c2c record' to get the samples: IIRC that uses numa events and is completely useless.

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 09:10:49AM +0200, Peter Zijlstra escreveu: > On Mon, Sep 03, 2018 at 07:45:48PM -0700, Stephane Eranian wrote: > > A few weeks ago, you had asked if I had more requests for the perf tool. > I have one long standing one; that is IP based data structure > annotation. > Whe

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Mon, Sep 03, 2018 at 07:45:48PM -0700, Stephane Eranian wrote: > Hi Arnaldo, Jiri, > > A few weeks ago, you had asked if I had more requests for the perf tool. I have one long standing one; that is IP based data structure annotation. When we get an exact IP (using PEBS) and were sampling a da

[RFC] perf tool improvement requests

2018-09-03 Thread Stephane Eranian
Hi Arnaldo, Jiri, A few weeks ago, you had asked if I had more requests for the perf tool. I have put together the following list to improve the usability of the perf tool, at least for our usage. Nothing is very big just small improvements here and there. 1/ perf stat interval printing Toda