summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-04-22 10:41:05 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-26 13:27:09 +0200
commit20f25dd5c8a513ee136e9f6d8c67959591298617 (patch)
treee42f5cfe77fb4f73d3b8eb759f5faa328997efc8 /util
parent817149643c27fca022cf526d6113a4aff898d511 (diff)
Rename coreboot_ram stage to ramstage
Rename coreboot_ram stage to ramstage. This is done in order to provide consistency with other stage names (bootblock, romstage) and to allow any Makefile rule generalization, required for patches to be submitted later. Change-Id: Ib66e43b7e17b9c48b2d099670ba7e7d857673386 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: http://review.coreboot.org/5567 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util')
-rw-r--r--util/genprof/README2
-rwxr-xr-xutil/genprof/log2dress4
2 files changed, 3 insertions, 3 deletions
diff --git a/util/genprof/README b/util/genprof/README
index fc14849072..d4159c2fd6 100644
--- a/util/genprof/README
+++ b/util/genprof/README
@@ -26,6 +26,6 @@ that.
Great use is:
make
-./genprof /tmp/yourlog ; gprof ../../build/coreboot_ram | ./gprof2dot.py -e0 -n0 | dot -Tpng -o output.png
+./genprof /tmp/yourlog ; gprof ../../build/ramstage | ./gprof2dot.py -e0 -n0 | dot -Tpng -o output.png
Which generates a PNG with a call graph.
diff --git a/util/genprof/log2dress b/util/genprof/log2dress
index c901a81d78..99d1f2f59c 100755
--- a/util/genprof/log2dress
+++ b/util/genprof/log2dress
@@ -10,9 +10,9 @@ 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/coreboot_ram.debug "$FROM" | tr -d "\n"
+addr2line -e ../../build/cbfs/fallback/ramstage.debug "$FROM" | tr -d "\n"
echo -n " calls "
-addr2line -e ../../build/cbfs/fallback/coreboot_ram.debug "$TO"
+addr2line -e ../../build/cbfs/fallback/ramstage.debug "$TO"
else
echo "$line"
fi