lkml.org 
[lkml]   [2019]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/3] perf tools: Allow to build with -ltcmalloc
Em Sun, Oct 13, 2019 at 06:33:22PM -0700, Andi Kleen escreveu:
> > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
> > index a099a8a89447..8f1ba986d3bf 100644
> > --- a/tools/perf/Makefile.perf
> > +++ b/tools/perf/Makefile.perf
> > @@ -114,6 +114,8 @@ include ../scripts/utilities.mak
> > # Define NO_LIBZSTD if you do not want support of Zstandard based runtime
> > # trace compression in record mode.
> > #
> > +# Define TCMALLOC to enable tcmalloc heap profiling.
>
> It might be useful for more than just profiling. I found that gcc runs a
> few percent faster with tcmalloc for some workloads. Maybe the same is
> true for perf too, as sometimes it does a lot of mallocs.

Thanks, applied. Waiting for the conclusion of the discussion about JIT,
etc to look at the rest.

- Arnaldo

\
 
 \ /
  Last update: 2019-10-14 16:02    [W:0.427 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site