Re: [PATCH/RFC 09/16] perf tools: Update hist entry's hists pointer

2015-12-13 Thread Namhyung Kim
On Mon, Dec 14, 2015 at 12:28:12AM +0100, Jiri Olsa wrote: > On Mon, Dec 14, 2015 at 12:23:30AM +0100, Jiri Olsa wrote: > > On Thu, Dec 10, 2015 at 04:53:28PM +0900, Namhyung Kim wrote: > > > When sample is processed using multi-thread, each sample is gathered on > > > each thread's hist tree and t

Re: [PATCH/RFC 09/16] perf tools: Update hist entry's hists pointer

2015-12-13 Thread Jiri Olsa
On Mon, Dec 14, 2015 at 12:23:30AM +0100, Jiri Olsa wrote: > On Thu, Dec 10, 2015 at 04:53:28PM +0900, Namhyung Kim wrote: > > When sample is processed using multi-thread, each sample is gathered on > > each thread's hist tree and then merged into the real hist tree. But > > hist_entry->hists poin

Re: [PATCH/RFC 09/16] perf tools: Update hist entry's hists pointer

2015-12-13 Thread Jiri Olsa
On Thu, Dec 10, 2015 at 04:53:28PM +0900, Namhyung Kim wrote: > When sample is processed using multi-thread, each sample is gathered on > each thread's hist tree and then merged into the real hist tree. But > hist_entry->hists pointer was not updated so it could refer wrong hists > resulted in mis

[PATCH/RFC 09/16] perf tools: Update hist entry's hists pointer

2015-12-09 Thread Namhyung Kim
When sample is processed using multi-thread, each sample is gathered on each thread's hist tree and then merged into the real hist tree. But hist_entry->hists pointer was not updated so it could refer wrong hists resulted in missing outputs. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.