aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/analyse.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyse.py b/src/analyse.py
index 5bbaf3c..bd08c98 100755
--- a/src/analyse.py
+++ b/src/analyse.py
@@ -87,6 +87,9 @@ def analyze_bench(bench):
def analyze_allocators(bench, allocators):
"""Analyse a single benchmark for each allocator in allocators"""
+ # build analyzse allocator before globaly setting LD_PRELOAD
+ build_analyze_alloc()
+
for name, alloc in allocators.items():
print_status(f"Analysing {name} during {bench} ...")
os.environ["LD_PRELOAD"] = alloc["LD_PRELOAD"]