From cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jan 2019 19:18:33 +0100 Subject: add custom target option the custom target definitions must be a valid python script exporting a global dictionary "targets". --- src/targets.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/targets.py (limited to 'src/targets.py') diff --git a/src/targets.py b/src/targets.py new file mode 100644 index 0000000..50fcab0 --- /dev/null +++ b/src/targets.py @@ -0,0 +1,19 @@ +targets = {"glibc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "", + "color" : "C1" + }, + "tcmalloc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "targets/libtcmalloc.so", + "color" : "C2" + }, + "jemalloc" : { + "cmd_prefix" : "", + "binary_suffix" : "", + "LD_PRELOAD" : "targets/libjemalloc.so", + "color" : "C3" + }, + } -- cgit v1.2.3