Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/tprof deal with the output of new objdump.



details:   https://anonhg.NetBSD.org/src/rev/97d43af070ac
branches:  trunk
changeset: 748086:97d43af070ac
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Oct 13 00:49:38 2009 +0000

description:
deal with the output of new objdump.

diffstat:

 usr.sbin/tprof/tpfmt.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 4c9b2d10f626 -r 97d43af070ac usr.sbin/tprof/tpfmt.sh
--- a/usr.sbin/tprof/tpfmt.sh   Mon Oct 12 23:43:13 2009 +0000
+++ b/usr.sbin/tprof/tpfmt.sh   Tue Oct 13 00:49:38 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index