From c1d8d45ff9ed031596b8de8ff49412633d129d12 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 2 Jul 2022 18:14:11 +0200 Subject: Generate profiling results as PNG. * use -ltcmalloc_and_profiler and try to get rid of LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libprofiler.so Signed-off-by: Toni Uhlig --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b9c4259b9..5c881ab99 100644 --- a/configure.ac +++ b/configure.ac @@ -286,7 +286,7 @@ AS_IF([test "x$enable_gprof" = "xyes"], [ AC_MSG_ERROR([libtcmalloc not available. Required for profiling support.]) ]) GPROF_ENABLED=1 - GPROF_LIBS="${pkg_cv_PROFILER_LIBS} ${pkg_cv_TCMALLOC_LIBS}" + GPROF_LIBS="-ltcmalloc_and_profiler" GPROF_CFLAGS="${pkg_cv_PROFILER_CFLAGS} ${pkg_cv_TCMALLOC_CFLAGS}" ]) -- cgit v1.2.3