Re: [PATCH 10/38] perf tools: Pass session arg to perf_event__preprocess_sample()

2015-03-03 Thread Namhyung Kim
On Tue, Mar 03, 2015 at 10:59:30AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 03, 2015 at 12:07:22PM +0900, Namhyung Kim escreveu: > > The perf_event__preprocess_sample() translates a given ip into a > > matching symbol. To do that, it first finds a corresponding thread > > and map in th

Re: [PATCH 10/38] perf tools: Pass session arg to perf_event__preprocess_sample()

2015-03-03 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 03, 2015 at 12:07:22PM +0900, Namhyung Kim escreveu: > The perf_event__preprocess_sample() translates a given ip into a > matching symbol. To do that, it first finds a corresponding thread > and map in the current thread tree. But for indexed data files, it > needs to find a thread (a

[PATCH 10/38] perf tools: Pass session arg to perf_event__preprocess_sample()

2015-03-02 Thread Namhyung Kim
The perf_event__preprocess_sample() translates a given ip into a matching symbol. To do that, it first finds a corresponding thread and map in the current thread tree. But for indexed data files, it needs to find a thread (and map) with slightly different APIs using timestamp. So it needs a way