[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-commits
Subject:    [oprof-cvs] CVS: oprofile/utils opcontrol,1.119,1.120
From:       John Levon <movement () users ! sourceforge ! net>
Date:       2005-06-16 19:12:10
Message-ID: E1Dizmc-0003SL-JO () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/oprofile/oprofile/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12975/utils

Modified Files:
	opcontrol 
Log Message:
fix ARM kernel


Index: opcontrol
===================================================================
RCS file: /cvsroot/oprofile/oprofile/utils/opcontrol,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -p -d -r1.119 -r1.120
--- opcontrol	28 Apr 2005 21:09:23 -0000	1.119
+++ opcontrol	16 Jun 2005 19:12:07 -0000	1.120
@@ -398,10 +398,9 @@ get_kernel_range()
 		return;
 	fi
 
-	# start from section 0 and then continue till end of .text
-	range_info=`objdump -h $VMLINUX 2>/dev/null | grep -w "0 "`
-	tmp1=`echo $range_info | awk '{print $4}'`
+	# start at the start of .text and then continue to the end 
 	range_info=`objdump -h $VMLINUX 2>/dev/null | grep " .text "`
+	tmp1=`echo $range_info | awk '{print $4}'`	
 	tmp_length=`echo $range_info | awk  '{print $3}'`
 	tmp2=`objdump -h $VMLINUX --adjust-vma=0x$tmp_length 2>/dev/null | grep " .text " | awk  '{print $4}'`
 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic