Re: [PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-10 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 10, 2015 at 09:55:44AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > >From: Namhyung Kim [mailto:namhy...@kernel.org] > > > >After sample processing is done, hist entries are in both of > >hists->entries and hists->entries_in (or hists->entries_collapsed). > >So I guess perf report does

RE: [PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-10 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@kernel.org] > >After sample processing is done, hist entries are in both of >hists->entries and hists->entries_in (or hists->entries_collapsed). >So I guess perf report does not have leaks on hists. > >But for perf top, it's possible to have half-processed

Re: [PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-10 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 10, 2015 at 09:55:44AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > >From: Namhyung Kim [mailto:namhy...@kernel.org] > > > >After sample processing is done, hist entries are in both of > >hists->entries and hists->entries_in (or hists->entries_collapsed). > >So I guess perf report does

RE: [PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-10 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@kernel.org] > >After sample processing is done, hist entries are in both of >hists->entries and hists->entries_in (or hists->entries_collapsed). >So I guess perf report does not have leaks on hists. > >But for perf top, it's possible to have half-processed

[PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-09 Thread Namhyung Kim
After sample processing is done, hist entries are in both of hists->entries and hists->entries_in (or hists->entries_collapsed). So I guess perf report does not have leaks on hists. But for perf top, it's possible to have half-processed entries which are only in hists->entries_in. Eventually

[PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-09 Thread Namhyung Kim
After sample processing is done, hist entries are in both of hists->entries and hists->entries_in (or hists->entries_collapsed). So I guess perf report does not have leaks on hists. But for perf top, it's possible to have half-processed entries which are only in hists->entries_in. Eventually