Hello, Le Thu, Apr 27, 2023 at 10:54:30PM +0000, RVP a écrit : > On Thu, 27 Apr 2023, tlaro...@polynum.com wrote: > > > I was trying to use the profiling capabilities of jemalloc and found > > that there is a /usr/lib/libjemalloc_p.a that seems (from > > /usr/src/distrib/sets/lists/comp/mi) to be the profiling version. > > > > The *_p.a files are used for call-profiling. What you want is jemalloc's > allocation profiling which is a different beast entirely. For this you'll > have to re-compile jemalloc with `JEMALLOC_PROF' defined either in the > Makefile: > > src/external/bsd/jemalloc/lib/Makefile.inc > > or, in the defs file: > > src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h >
Thanks for the explanations! I will compile an ad hoc version. Best, -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ http://kertex.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C