Re: [PATCH v2 3/5] perf tools: Update srcline/file if needed

2016-02-21 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:31:51AM +0900, Namhyung Kim wrote: > Normally the hist entry's srcline and/or srcfile is set during sorting. > However sometime it's possible to a hist entry's srcline is not set yet > after the sorting. This is because the entry is so unique and other > sort keys

Re: [PATCH v2 3/5] perf tools: Update srcline/file if needed

2016-02-21 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:31:51AM +0900, Namhyung Kim wrote: > Normally the hist entry's srcline and/or srcfile is set during sorting. > However sometime it's possible to a hist entry's srcline is not set yet > after the sorting. This is because the entry is so unique and other > sort keys

[PATCH v2 3/5] perf tools: Update srcline/file if needed

2016-02-21 Thread Namhyung Kim
Normally the hist entry's srcline and/or srcfile is set during sorting. However sometime it's possible to a hist entry's srcline is not set yet after the sorting. This is because the entry is so unique and other sort keys already make it distinct. Then the srcline/file sort didn't have a chance

[PATCH v2 3/5] perf tools: Update srcline/file if needed

2016-02-21 Thread Namhyung Kim
Normally the hist entry's srcline and/or srcfile is set during sorting. However sometime it's possible to a hist entry's srcline is not set yet after the sorting. This is because the entry is so unique and other sort keys already make it distinct. Then the srcline/file sort didn't have a chance