From 53b51b8522feb9b82899245c7fd52fa341fd9587 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 20 Feb 2020 14:43:41 +0100 Subject: rename gperftools tcmallocs --- src/allocators/tcmalloc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/allocators') diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index 97c94e2..44cc10e 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -32,7 +32,7 @@ class TCMalloc(Allocator): self.build_cmds = [ "cd {srcdir}; bazel build tcmalloc/tcmalloc.so --compilation_mode opt", "mkdir -p {dir}", - "cp {srcdir}/bazel-bin/tcmalloc/tcmalloc.so {dir}/libtcmalloc.so" + "cp -f {srcdir}/bazel-bin/tcmalloc/tcmalloc.so {dir}/libtcmalloc.so" ] super().__init__(name, **kwargs) @@ -71,18 +71,18 @@ tcmalloc_gperftools = TCMallocGperftools("TCMalloc-gperftools", color="xkcd:dark blue", version="gperftools-2.7") -tcmalloc_gperftools_nofs = TCMallocGperftools("TCMalloc-NoFalsesharing", +tcmalloc_gperftools_nofs = TCMallocGperftools("TCMalloc-Gperftools-NoFalsesharing", patches=["{patchdir}/tcmalloc_2.7_no_active_falsesharing.patch"], version="gperftools-2.7", color="xkcd:navy") -tcmalloc_gperftools_align = TCMallocGperftools("TCMalloc-Aligned", +tcmalloc_gperftools_align = TCMallocGperftools("TCMalloc-Gperftools-Aligned", version="gperftools-2.7", color="xkcd:navy blue") tcmalloc_gperftools_align.LD_PRELOAD = f"{BUILDDIR}/align_to_cl.so {tcmalloc_gperftools_align.LD_PRELOAD}" -tcmalloc_gperftools_cacheline_exclusive = TCMallocGperftools("TCMalloc-Cacheline-Exclusive", +tcmalloc_gperftools_cacheline_exclusive = TCMallocGperftools("TCMalloc-Gperftools-Cacheline-Exclusive", patches=["{patchdir}/tcmalloc_2.7_cacheline_exclusive.patch"], version="gperftools-2.7", color="xkcd:royal blue") -- cgit v1.2.3