projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4466841
)
add simple run script
author
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 16:08:18 +0000
(18:08 +0200)
committer
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 16:08:18 +0000
(18:08 +0200)
run.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/run.sh
b/run.sh
new file mode 100755
(executable)
index 0000000..
c3ddcd6
--- /dev/null
+++ b/
run.sh
@@ -0,0
+1,12
@@
+#!/bin/bash
+
+interval=$1
+shift 1
+
+output=$(pwd)/mallocinfo.$1.$$
+
+echo "will write output to $output(.bzip2)"
+
+cb
+LD_PRELOAD=./libdumpmallocinfo.so DUMP_MALLOC_INFO_INTERVAL="$interval" DUMP_MALLOC_INFO_OUTPUT="$output" $@
+bzip2 "$output"
\ No newline at end of file