Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2012-12-19 14:50:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oprofile", Maintainer is "to...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes 2011-11-28 12:55:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2012-12-19 14:50:51.000000000 +0100 @@ -1,0 +2,17 @@ +Mon Dec 10 20:37:17 UTC 2012 - to...@suse.com + +- Update to version 0.9.8. +- Support for pre-2.6 kernels has been removed +- The sample data format has changed (see bug #3309794 below for details) +- A new 'operf' program is now available that allows non-root users to profile + single processes. 'operf' can also be used for system-wide profiling, but + root authority is required. This capability requires a kernel version of + 2.6.31 or greater. +- New Processors Support: + Tilera (tile64 tilepro tile-gx) + IBM (System z10 z196) + Intel Ivy Bridge + ARMv7 (Cortex-A5 Cortex-A15 Cortex-A7) +- Numerous bugfixes + +------------------------------------------------------------------- Old: ---- oprofile-0.9.4-fixes.diff oprofile-0.9.5-buildfixes.diff oprofile-0.9.7.tar.bz2 New: ---- oprofile-0.9.8.tar.bz2 oprofile-compressed-kernel.patch oprofile-no-libjvm-version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oprofile.spec ++++++ --- /var/tmp/diff_new_pack.s9RQy3/_old 2012-12-19 14:50:52.000000000 +0100 +++ /var/tmp/diff_new_pack.s9RQy3/_new 2012-12-19 14:50:52.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,22 @@ # - Name: oprofile -BuildRequires: binutils-devel fdupes java2-devel-packages libtool libxslt popt-devel qt-devel update-desktop-files +BuildRequires: binutils-devel +BuildRequires: fdupes +BuildRequires: java2-devel-packages +BuildRequires: libtool +BuildRequires: libxslt +BuildRequires: popt-devel +BuildRequires: qt-devel +BuildRequires: update-desktop-files Url: http://oprofile.sourceforge.net/ -License: GPL-2.0+ ; LGPL-2.1+ -Group: Development/Tools/Other PreReq: /usr/sbin/groupadd /usr/sbin/useradd -Version: 0.9.7 -Release: 1 +Version: 0.9.8 +Release: 0 Summary: System-Wide Profiler for Linux Systems +License: GPL-2.0+ and LGPL-2.1+ +Group: Development/Tools/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop @@ -33,8 +39,8 @@ Source3: baselibs.conf Source4: jvmpi.h Source5: README-BEFORE-ADDING-PATCHES -Patch1: oprofile-0.9.5-buildfixes.diff -Patch2: oprofile-0.9.4-fixes.diff +Patch1: %{name}-compressed-kernel.patch +Patch2: %{name}-no-libjvm-version.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -60,9 +66,8 @@ %package devel Summary: System-Wide Profiler for Linux Systems Group: Development/Libraries/C and C++ -License: GPL-2.0+ ; LGPL-2.1+ -AutoReqProv: on -Requires: libopagent1 = %{version}-%{release} binutils-devel +Requires: binutils-devel +Requires: libopagent1 = %{version}-%{release} %description devel OProfile is a system-wide profiler for Linux systems, capable of @@ -75,8 +80,6 @@ %package -n libopagent1 Summary: System-Wide Profiler for Linux Systems Group: Development/Libraries/C and C++ -License: GPL-2.0+ ; LGPL-2.1+ -AutoReqProv: on %description -n libopagent1 OProfile is a system-wide profiler for Linux systems, capable of @@ -98,11 +101,10 @@ test -f java/include/jvmpi.h || ln -s %{S:4} java/include %build -autoreconf -fi +sh autogen.sh ./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} \ - --with-kernel-support --with-java=$PWD/java \ - --enable-gui=qt4 + --with-java=$PWD/java --enable-gui=qt4 # Change DATE/TIME macros to use last change time of oprofile.changes # See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" @@ -115,7 +117,7 @@ %install make DESTDIR=$RPM_BUILD_ROOT htmldir=%{_docdir}/oprofile install %suse_update_desktop_file -i %name Development Profiling -rm -vf $RPM_BUILD_ROOT%{_libdir}/libopagent.*a +rm -f $RPM_BUILD_ROOT%{_libdir}/oprofile/libopagent.*a # Hardlink duplicate files automatically (from package fdupes): # It doesn't save much, but it keeps rpmlint from breaking the package build. %fdupes $RPM_BUILD_ROOT @@ -137,8 +139,8 @@ /usr/share/applications/*.desktop /usr/share/oprofile %{_mandir}/man1/* -%{_libdir}/libjvm[tp]i_oprofile.so -%exclude %{_libdir}/libjvm[tp]i_oprofile.*a +%{_libdir}/oprofile/libjvm[tp]i_oprofile.so +%exclude %{_libdir}/oprofile/libjvm[tp]i_oprofile.*a %doc doc/oprofile.html doc/internals.html doc/opreport.xsd %doc COPYING README TODO ChangeLog-* @@ -146,10 +148,12 @@ %defattr(-,root,root) /usr/include/* %doc doc/op-jit-devel.html -%{_libdir}/libopagent.so +%dir %{_libdir}/oprofile +%{_libdir}/oprofile/libopagent.so %files -n libopagent1 %defattr(-,root,root) -%{_libdir}/libopagent.so.1* +%dir %{_libdir}/oprofile +%{_libdir}/oprofile/libopagent.so.1* %changelog ++++++ oprofile-0.9.7.tar.bz2 -> oprofile-0.9.8.tar.bz2 ++++++ ++++ 51122 lines of diff (skipped) ++++++ oprofile-compressed-kernel.patch ++++++ From: Tony Jones Subject: all compressed kernel when determining range Upstream: no Extracted from 0.9.7 patch 'oprofile-0.9.5-buildfixes.diff'. This needs further investigation as purpose is unclear, since compressed image isn't supported by underlying sampling code. --- a/utils/opcontrol +++ b/utils/opcontrol @@ -482,10 +482,19 @@ get_image_range() exit 1 fi + kernel_file=$FILE_IMAGE + case $(file -L $kernel_file) in + *"gzip compressed"*) + kernel_file=$(mktemp /tmp/opcXXXXXX) || exit 1 + trap "rm -f $kernel_file" EXIT + gzip -cd $FILE_IMAGE > $kernel_file + ;; + esac + # start at the start of .text, and end at _etext - range_info=`objdump -h $FILE_IMAGE 2>/dev/null | grep " .text "` + range_info=`objdump -h $kernel_file 2>/dev/null | grep " .text "` tmp1=`echo $range_info | awk '{print $4}'` - tmp2=`objdump -t $FILE_IMAGE 2>/dev/null | grep "_etext$" | awk '{ print $1 }'` + tmp2=`objdump -t $kernel_file 2>/dev/null | grep "_etext$" | awk '{ print $1 }'` if test -z "$tmp1" -o -z "$tmp2"; then echo "The specified file $FILE_IMAGE does not seem to be valid" >&2 ++++++ oprofile-no-libjvm-version.patch ++++++ From: Tony Jones <to...@suse.de> Subject: Build libjvm[pt]i as so only Upstream: no Only expected user is Java. Extracted from 0.9.7 patch 'oprofile-0.9.5-buildfixes.diff' --- agents/jvmpi/Makefile.am | 1 + agents/jvmti/Makefile.am | 1 + 2 files changed, 2 insertions(+) --- a/agents/jvmpi/Makefile.am +++ b/agents/jvmpi/Makefile.am @@ -1,6 +1,7 @@ pkglib_LTLIBRARIES = libjvmpi_oprofile.la libjvmpi_oprofile_la_CXXFLAGS = -W -Wall -fPIC +libjvmpi_oprofile_la_LDFLAGS = -module -avoid-version libjvmpi_oprofile_la_SOURCES = jvmpi_oprofile.cpp --- a/agents/jvmti/Makefile.am +++ b/agents/jvmti/Makefile.am @@ -3,6 +3,7 @@ AM_CFLAGS = @OP_CFLAGS@ pkglib_LTLIBRARIES = libjvmti_oprofile.la libjvmti_oprofile_la_CFLAGS = $(AM_CFLAGS) -fPIC +libjvmti_oprofile_la_LDFLAGS = -module -avoid-version libjvmti_oprofile_la_LIBADD = ../../libopagent/libopagent.la -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org