rpms/oprofile/devel oprofile-0.9.3-ranges.patch, NONE, 1.1 oprofile.spec, 1.62, 1.63

William Eden Cohen (wcohen) fedora-extras-commits at redhat.com
Fri Jan 18 16:42:37 UTC 2008


Author: wcohen

Update of /cvs/pkgs/rpms/oprofile/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20410

Modified Files:
	oprofile.spec 
Added Files:
	oprofile-0.9.3-ranges.patch 
Log Message:
* Fri Jan 18 2008 Will Cohen <wcohen at redhat.com> - 0.9.3-12
- Use more incluse set of kernel ranges. Resolves: rhbz #307111



oprofile-0.9.3-ranges.patch:

--- NEW FILE oprofile-0.9.3-ranges.patch ---
Index: utils/opcontrol
===================================================================
RCS file: /cvsroot/oprofile/oprofile/utils/opcontrol,v
retrieving revision 1.139
retrieving revision 1.140
diff -U2 -u -r1.139 -r1.140
--- utils/opcontrol	13 Jun 2007 15:04:13 -0000	1.139
+++ utils/opcontrol	25 Sep 2007 17:24:32 -0000	1.140
@@ -490,9 +490,8 @@
 	fi
 
-	# start at the start of .text and then continue to the end 
+	# start at the start of .text, and end at _etext
 	range_info=`objdump -h $FILE_IMAGE 2>/dev/null | grep " .text "`
-	tmp1=`echo $range_info | awk '{print $4}'`	
-	tmp_length=`echo $range_info | awk  '{print $3}'`
-	tmp2=`objdump -h $FILE_IMAGE --adjust-vma=0x$tmp_length 2>/dev/null | grep " .text " | awk  '{print $4}'`
+	tmp1=`echo $range_info | awk '{print $4}'`
+	tmp2=`objdump -t $FILE_IMAGE 2>/dev/null | grep "_etext$" | awk '{ print $1 }'`
 
 	if test -z "$tmp1" -o -z "$tmp2"; then


Index: oprofile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oprofile/devel/oprofile.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- oprofile.spec	18 Jan 2008 16:36:36 -0000	1.62
+++ oprofile.spec	18 Jan 2008 16:42:01 -0000	1.63
@@ -3,7 +3,7 @@
 Summary: System wide profiler
 Name: oprofile
 Version: 0.9.3
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: GPL
 Group: Development/System
 #
@@ -15,6 +15,7 @@
 Patch83: oprofile-0.9.1-xen.patch
 Patch92: oprofile-0.9.3-ld_options.patch
 Patch93: oprofile-0.9.3-family10.patch
+Patch94: oprofile-0.9.3-ranges.patch
 URL: http://oprofile.sf.net
 
 ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x alpha alphaev6 sparc sparc64
@@ -69,6 +70,7 @@
 #%patch91 -p1 -b .k10
 %patch92 -p0 -b .ld_option
 %patch93 -p0 -b .family10
+%patch94 -p0 -b .ranges
 
 ./autogen.sh
 
@@ -183,6 +185,9 @@
 %{_bindir}/oprof_start
 
 %changelog
+* Fri Jan 18 2008 Will Cohen <wcohen at redhat.com> - 0.9.3-12
+- Use more incluse set of kernel ranges. Resolves: rhbz #307111
+
 * Fri Jan 18 2008 Will Cohen <wcohen at redhat.com> - 0.9.3-11
 - Update AMD family 10h events to match AMD documentation Resolves: rhbz #232956
 




More information about the fedora-extras-commits mailing list