diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-08-28 00:25:13 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-08-28 00:25:13 +0200 |
| commit | e502645bac2fb3f2dba030a275785f195349b5e3 (patch) | |
| tree | 92cd1c96eb651218b5cafc3259ae2e24d19b9fac /common_targets.py | |
| parent | 93db3d08c8e83bc3d6c3856a47f3a0bc67cd0475 (diff) | |
| download | allocbench-e502645bac2fb3f2dba030a275785f195349b5e3.tar.gz allocbench-e502645bac2fb3f2dba030a275785f195349b5e3.zip | |
add glibc without tc and cleanup Makefile
Diffstat (limited to 'common_targets.py')
| -rw-r--r-- | common_targets.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/common_targets.py b/common_targets.py index b793a6f..847536e 100644 --- a/common_targets.py +++ b/common_targets.py @@ -1,3 +1,17 @@ +import subprocess + +glibc_path = "/home/cip/2014/aj46ezos/BA/glibc/glibc-install/lib" +glibc_path_notc = "/home/cip/2014/aj46ezos/BA/glibc/glibc-install-notc/lib" + +library_path = "" +p = subprocess.run(["ldconfig", "-v"], stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + universal_newlines=True) + +for l in p.stdout.splitlines(): + if not l.startswith('\t'): + library_path += l + common_targets = {"klmalloc" : { "cmd_prefix" : "", "binary_suffix" : "", @@ -28,6 +42,15 @@ common_targets = {"klmalloc" : { "LD_PRELOAD" : "targets/libhoard.so", "color" : "C4" }, + "glibc-notc" : { + "cmd_prefix" : glibc_path+"/ld-2.28.9000.so " + + "--library-path " + + glibc_path + ":" + + library_path, + "binary_suffix" : "-glibc-notc", + "LD_PRELOAD" : "/usr/lib/libstdc++.so /usr/lib/libgcc_s.so.1", + "color" : "C5" + }, } analyse_targets = {"chattymalloc" : {"cmd_prefix" : "", |
