Re: [PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-04 Thread Adrian Hunter
On 03/12/13 20:23, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 03, 2013 at 09:23:04AM +0200, Adrian Hunter escreveu: >> perf_event__preprocess_sample() is called in >> process_sample_event(). Instead of calling it >> again in perf_evsel__print_ip(), pass though >> the resultant addr_location. >

Re: [PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-04 Thread Adrian Hunter
On 03/12/13 20:23, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 03, 2013 at 09:23:04AM +0200, Adrian Hunter escreveu: perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. SNIP

Re: [PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-03 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 03, 2013 at 09:23:04AM +0200, Adrian Hunter escreveu: > perf_event__preprocess_sample() is called in > process_sample_event(). Instead of calling it > again in perf_evsel__print_ip(), pass though > the resultant addr_location. > +++ b/tools/perf/util/session.c > @@ -1487,11 +1487,12

Re: [PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-03 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 03, 2013 at 09:23:04AM +0200, Adrian Hunter escreveu: perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. SNIP +++ b/tools/perf/util/session.c @@ -1487,11 +1487,12

[PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-02 Thread Adrian Hunter
perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 11 ++- tools/perf/util/session.c | 33

[PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-02 Thread Adrian Hunter
perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-script.c | 11 ++- tools/perf/util/session.c