Em Thu, Dec 10, 2015 at 09:55:44AM +0000, 平松雅巳 / 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 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 they will go to the
> >hists->entries and get freed but they cannot be deleted by current
> >hists__delete_entries().  This patch adds hists__delete_all_entries
> >function to delete those entries.
> >
> 
> This is tested under the refcnt debugger and I've reviewed it.
> 
> Acked-by: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
> Tested-by: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>

Thanks, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to