Module Name: src
Committed By: yamt
Date: Tue Oct 13 00:49:39 UTC 2009
Modified Files:
src/usr.sbin/tprof: tpfmt.sh
Log Message:
deal with the output of new objdump.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/tprof/tpfmt.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/tprof/tpfmt.sh
diff -u src/usr.sbin/tprof/tpfmt.sh:1.2 src/usr.sbin/tprof/tpfmt.sh:1.3
--- src/usr.sbin/tprof/tpfmt.sh:1.2 Mon Jan 14 12:49:54 2008
+++ src/usr.sbin/tprof/tpfmt.sh Tue Oct 13 00:49:38 2009
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: tpfmt.sh,v 1.2 2008/01/14 12:49:54 yamt Exp $
+# $NetBSD: tpfmt.sh,v 1.3 2009/10/13 00:49:38 yamt Exp $
# /*-
# * Copyright (c)2008 YAMAMOTO Takashi,
@@ -36,5 +36,5 @@
hexdump -v -e "/${SIZEOF_PTR} \"%x\n\""|sort|uniq -c|sort -nr|
while read x y;do
printf "$x\t$y\t"
- objdump -d --start-address=0x$y /netbsd|head -6|sed -ne '/.*<\(.*\)>:/{s//\1/;p;}'
+ objdump -d --start-address=0x$y /netbsd|head -7|sed -ne '/.*<\(.*\)>:/{s//\1/;p;}'
done