aboutsummaryrefslogtreecommitdiff
path: root/util/genprof/log2dress
diff options
context:
space:
mode:
Diffstat (limited to 'util/genprof/log2dress')
-rwxr-xr-xutil/genprof/log2dress20
1 files changed, 0 insertions, 20 deletions
diff --git a/util/genprof/log2dress b/util/genprof/log2dress
deleted file mode 100755
index a7ec4bfdbd..0000000000
--- a/util/genprof/log2dress
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-#Parse a log and get back the function names and line numbers
-#Provide a log file as first argument
-
-#Please rewrite to something more saner !
-
-cat $1 | while read line ; do
-A=`echo $line | cut -c 1`
-
-if [ "$A" = '~' ] ; then
-FROM=`echo $line | tr \~ \( | tr \) \( | awk -F\( '{print $3}'`
-TO=`echo $line | tr \~ \( | tr \) \(|awk -F\( '{print $2}'`
-addr2line -e ../../build/cbfs/fallback/ramstage.debug "$FROM" | tr -d "\n"
-echo -n " calls "
-addr2line -e ../../build/cbfs/fallback/ramstage.debug "$TO"
-else
-echo "$line"
-fi
-
-done