[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191014140137.GA19627@kernel.org>
Date: Mon, 14 Oct 2019 11:01:37 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: Jiri Olsa <jolsa@...nel.org>, lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Michael Petlan <mpetlan@...hat.com>
Subject: Re: [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
Powered by blists - more mailing lists