From 40f8919ad043472c7e2b717f6d46dcfcbf978991 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 17 Jul 2019 18:41:23 +0200 Subject: use libtbbmalloc_proxy which overwrites malloc --- src/allocators/tbbmalloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allocators/tbbmalloc.py b/src/allocators/tbbmalloc.py index 77c3cf0..317c527 100644 --- a/src/allocators/tbbmalloc.py +++ b/src/allocators/tbbmalloc.py @@ -16,7 +16,7 @@ class TBBMalloc (src.allocator.Allocator): kwargs["LD_PRELOAD"] = "{dir}/libtbbmalloc.so" kwargs["build_cmds"] = ["cd {srcdir}; make tbbmalloc -j4", "mkdir -p {dir}", - 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc.so*") {dir}/libtbbmalloc.so'] + 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc_proxy.so*") {dir}/libtbbmalloc.so'] super().__init__(name, **kwargs) -- cgit v1.2.3