commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2020-10-13 15:47:37 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new.3486 (New) Package is "oprofile" Tue Oct 13 15:47:37 2020 rev:54 rq:841544 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2020-04-08 19:57:44.325169640 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new.3486/oprofile.changes 2020-10-13 15:48:25.261521585 +0200 @@ -1,0 +2,5 @@ +Tue Oct 13 10:06:24 UTC 2020 - Jan Engelhardt + +- Do not suppress error text output from useradd. + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.OjGZd8/_old 2020-10-13 15:48:33.441525115 +0200 +++ /var/tmp/diff_new_pack.OjGZd8/_new 2020-10-13 15:48:33.441525115 +0200 @@ -124,7 +124,7 @@ %make_build %install -make DESTDIR=%{buildroot} htmldir=%{_docdir}/oprofile install +%make_install htmldir=%{_docdir}/oprofile rm -f %{buildroot}%{_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. @@ -132,11 +132,11 @@ %pre getent group oprofile >/dev/null || \ - %{_sbindir}/groupadd -r oprofile 2>/dev/null + %{_sbindir}/groupadd -r oprofile getent passwd oprofile >/dev/null || \ %{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty \ -s /bin/false -c "Special user account to be used by OProfile" \ - oprofile 2>/dev/null + oprofile %post -n libopagent1 -p /sbin/ldconfig %postun -n libopagent1 -p /sbin/ldconfig
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2020-04-08 19:57:19 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new.3248 (New) Package is "oprofile" Wed Apr 8 19:57:19 2020 rev:53 rq:792470 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2020-01-24 13:13:30.349489519 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new.3248/oprofile.changes 2020-04-08 19:57:44.325169640 +0200 @@ -1,0 +2,7 @@ +Wed Apr 8 12:11:10 UTC 2020 - Christophe Giboudeaux + +- Add upstream patch: + * oprofile-handle-binutils-2_34.patch +- Spec cleanup + +--- New: oprofile-handle-binutils-2_34.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.aLXWCu/_old 2020-04-08 19:57:45.397170424 +0200 +++ /var/tmp/diff_new_pack.aLXWCu/_new 2020-04-08 19:57:45.401170427 +0200 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary:System-Wide Profiler for Linux Systems License:GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Tools/Other -Url:http://oprofile.sourceforge.net/ +URL:http://oprofile.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/oprofile/oprofile-%{version}.tar.gz Source2:%{name}.rpmlintrc Source3:baselibs.conf @@ -31,6 +31,8 @@ Patch1: %{name}-no-libjvm-version.patch Patch2: %{name}-pfm-ppc.patch Patch3: %{name}-handle-empty-event-name-spec-gracefully-for-ppc.patch +# PATCH-FIX-UPSTREAM +Patch4: %{name}-handle-binutils-2_34.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel @@ -42,11 +44,11 @@ BuildRequires: libICE-devel BuildRequires: libtool BuildRequires: libxslt -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: zlib-devel -Requires(pre): %{_sbindir}/groupadd %{_sbindir}/useradd -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires(pre): %{_sbindir}/groupadd +Requires(pre): %{_sbindir}/useradd %ifarch ppc ppc64 ppc64le BuildRequires: libpfm-devel >= 4.3.0 %endif @@ -99,10 +101,7 @@ from supported virtual machines. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 mkdir -p java/include # copy files necessary to build Java agent libraries @@ -122,7 +121,7 @@ TIME="\"$(date -d "${modified}" "+%%R")\"" find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec grep -E -e __DATE__ -e __TIME__ {} + find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + -make %{?_smp_mflags} +%make_build %install make DESTDIR=%{buildroot} htmldir=%{_docdir}/oprofile install @@ -143,7 +142,6 @@ %postun -n libopagent1 -p /sbin/ldconfig %files -%defattr(-,root,root) %{_bindir}/ocount %{_bindir}/ophelp %{_bindir}/opimport @@ -164,14 +162,12 @@ %license COPYING %files devel -%defattr(-,root,root) %{_includedir}/* %{_docdir}/%{name}/op-jit-devel.html %dir %{_libdir}/oprofile %{_libdir}/oprofile/libopagent.so %files -n libopagent1 -%defattr(-,root,root) %dir %{_libdir}/oprofile %{_libdir}/oprofile/libopagent.so.1* ++ oprofile-handle-binutils-2_34.patch ++ >From 377610414fb6cd7ac30e4485d9d6482fcf29aca6 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 18 Mar 2020 21:19:16 -0400 Subject: [PATCH] Macro wrappers to handle the binutils 2.34 api changes Changes in binutils 2.34 API prevented oprofile from compiling with it. This patch tests for the changes in the binutils API during configuration and selects the appropiate wrappers to allow oprofile to compile. This allows oprofile to compile with both older and newer versions of binutils. --- configure.ac | 20 libutil++/bfd_support.cpp | 11 ++- libutil/op_bfd_wrappers.h | 28 opjitconv/create_bfd.c| 7 --- 4 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 libutil/op_bfd_wrappers.h diff --git a/configure.ac b/configure.ac index ac2fd35e..df032a78 100644 --- a/configure.ac +++ b/configure.ac @@ -224,6 +224,26 @@ if test "$host_cpu" = "powerpc64le" -o "$host_cpu" = "powerpc64"; then fi AC_SUBST(PFM_LIB) +HAVE_BINUTILS_234='1' +AC_MSG_CHECKING([whether binutils 2.34 is being u
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2020-01-24 13:12:33 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new.26092 (New) Package is "oprofile" Fri Jan 24 13:12:33 2020 rev:52 rq:766714 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2018-10-31 13:18:39.859213605 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new.26092/oprofile.changes 2020-01-24 13:13:30.349489519 +0100 @@ -1,0 +2,6 @@ +Thu Jan 23 22:12:54 UTC 2020 - Stefan Brüns + +- Use docbook-utils-minimal for manpage generation, avoids + texlive dependency. + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.ykprJR/_old 2020-01-24 13:13:32.445490361 +0100 +++ /var/tmp/diff_new_pack.ykprJR/_new 2020-01-24 13:13:32.445490361 +0100 @@ -34,7 +34,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel -BuildRequires: docbook-utils +BuildRequires: docbook-utils-minimal BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2018-10-31 13:15:14 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Wed Oct 31 13:15:14 2018 rev:51 rq:645375 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2018-07-28 12:42:43.796694270 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2018-10-31 13:18:39.859213605 +0100 @@ -1,0 +2,6 @@ +Mon Oct 29 21:07:04 UTC 2018 - Tony Jones + +- Handle empty event name gracefully on ppc. + New patch: oprofile-handle-empty-event-name-spec-gracefully-for-ppc.patch + +--- New: oprofile-handle-empty-event-name-spec-gracefully-for-ppc.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.g0w35S/_old 2018-10-31 13:18:42.663210972 +0100 +++ /var/tmp/diff_new_pack.g0w35S/_new 2018-10-31 13:18:42.667210968 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -30,6 +30,7 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-no-libjvm-version.patch Patch2: %{name}-pfm-ppc.patch +Patch3: %{name}-handle-empty-event-name-spec-gracefully-for-ppc.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel @@ -101,6 +102,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries ++ oprofile-handle-empty-event-name-spec-gracefully-for-ppc.patch ++ From: William Cohen Date: Fri Aug 3 10:10:12 2018 -0400 Subject: Handle empty event name spec gracefully for PPC Git-commit 457d33de89939ffaa523c2a6377ed7d1506ce255 References: none Signed-off-by: Tony Jones Handle empty event name spec gracefully for PPC During testing Michael Petlan found that the giving an empty event name in the event spec to operf on PPC machines would cause operf crash. Running the following following command would demonstrate this problem: operf -e : /bin/ls The problem was traced to event_name in _handle_powerpc_event_spec function having a length of 0. The strncmp using event_name in _handle_powerpc_event_spec would indicate a match and cause strncpy to be called to copy zero bytes. The zero length strncpy would crash operf. Added a check to make ensure that the string is non-zero length. Signed-off-by: William Cohen diff --git a/libpe_utils/op_pe_utils.cpp b/libpe_utils/op_pe_utils.cpp index f9638c77..2cae7840 100644 --- a/libpe_utils/op_pe_utils.cpp +++ b/libpe_utils/op_pe_utils.cpp @@ -588,7 +588,7 @@ static string _handle_powerpc_event_spec(string event_spec) } if (line[0] == ' ' || line[0] == '\t') continue; - if (!strncmp(line, event_name, evt_name_len)) { + if (evt_name_len && !strncmp(line, event_name, evt_name_len)) { // Found a potential match. Check if it's a perfect match. string save_event_name = event_name; size_t full_evt_len = index(line, ':') - line;
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2018-07-28 12:42:42 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Sat Jul 28 12:42:42 2018 rev:50 rq:625461 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2017-10-03 23:18:24.288963015 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2018-07-28 12:42:43.796694270 +0200 @@ -1,0 +2,10 @@ +Thu Jul 26 15:57:53 UTC 2018 - to...@suse.com + +- Update to version 1.3.0 + + - New/updated Processor Support for Intel Goldmont Plus + - Minor bug fixes + + Release notes: http://oprofile.sourceforge.net/release-notes/oprofile-1.3.0 + +--- Old: oprofile-1.2.0.tar.gz New: oprofile-1.3.0.tar.gz Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.pZPMgN/_old 2018-07-28 12:42:44.348695332 +0200 +++ /var/tmp/diff_new_pack.pZPMgN/_new 2018-07-28 12:42:44.352695340 +0200 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ Name: oprofile -Version:1.2.0 +Version:1.3.0 Release:0 Summary:System-Wide Profiler for Linux Systems -License:GPL-2.0+ and LGPL-2.1+ +License:GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Tools/Other Url:http://oprofile.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/oprofile/oprofile-%{version}.tar.gz @@ -158,7 +158,8 @@ %exclude %{_libdir}/oprofile/libjvm[tp]i_oprofile.*a %doc doc/oprofile.html doc/internals.html doc/opreport.xsd %{_docdir}/%{name}/ophelp.xsd -%doc COPYING README TODO ChangeLog-* +%doc README TODO ChangeLog-* +%license COPYING %files devel %defattr(-,root,root) ++ oprofile-1.2.0.tar.gz -> oprofile-1.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oprofile-1.2.0/Makefile.in new/oprofile-1.3.0/Makefile.in --- old/oprofile-1.2.0/Makefile.in 2017-07-24 20:31:07.0 +0200 +++ new/oprofile-1.3.0/Makefile.in 2018-07-16 21:39:38.0 +0200 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oprofile-1.2.0/aclocal.m4 new/oprofile-1.3.0/aclocal.m4 --- old/oprofile-1.2.0/aclocal.m4 2017-07-24 20:31:06.0 +0200 +++ new/oprofile-1.3.0/aclocal.m4 2018-07-16 21:39:38.0 +0200 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,9 +20,9 @@ If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29.1) -dnl +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 11 (pkg-config-0.29.1) + dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl @@ -296,7 +296,75 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], +dnl [DESCRIPTION], [DEFAULT]) +dnl -- +dnl +dnl Prepare a "--with-" configure option using the lowercase +dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and +dnl PKG_CHECK_MODULES in a single macro. +AC_DEFUN([PKG_WITH_MODULES], +[ +m4_pushdef([with_arg], m4_tolower([$1])) + +m4_pushdef([description], + [m4
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-10-03 23:18:15 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Tue Oct 3 23:18:15 2017 rev:49 rq:530596 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2017-09-26 21:17:39.315126660 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-10-03 23:18:24.288963015 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 21:39:00 UTC 2017 - jeng...@inai.de + +- Rectify RPM groups. Update summary of -devel subpackage. + Do not ignore errors from useradd/groupadd. + Avoid running fdupes across partitions. + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.A5Lpiy/_old 2017-10-03 23:18:25.048856073 +0200 +++ /var/tmp/diff_new_pack.A5Lpiy/_new 2017-10-03 23:18:25.056854947 +0200 @@ -72,7 +72,7 @@ This is the package containing the userspace tools. %package devel -Summary:System-Wide Profiler for Linux Systems +Summary:Development files for oprofile, a system-wide profiler for Linux Group: Development/Libraries/C and C++ Requires: binutils-devel Requires: libopagent1 = %{version}-%{release} @@ -87,7 +87,7 @@ %package -n libopagent1 Summary:System-Wide Profiler for Linux Systems -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n libopagent1 OProfile is a system-wide profiler for Linux systems, capable of @@ -127,11 +127,15 @@ rm -f %{buildroot}%{_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 %{buildroot} +%fdupes %{buildroot}/%{_prefix} %pre -%{_sbindir}/groupadd -r oprofile 2>/dev/null || : -%{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty -s /bin/false -c "Special user account to be used by OProfile" oprofile 2>/dev/null || : +getent group oprofile >/dev/null || \ + %{_sbindir}/groupadd -r oprofile 2>/dev/null +getent passwd oprofile >/dev/null || \ + %{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty \ + -s /bin/false -c "Special user account to be used by OProfile" \ + oprofile 2>/dev/null %post -n libopagent1 -p /sbin/ldconfig %postun -n libopagent1 -p /sbin/ldconfig
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-09-26 21:16:29 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Tue Sep 26 21:16:29 2017 rev:48 rq:528750 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2017-08-24 18:48:10.757069051 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-09-26 21:17:39.315126660 +0200 @@ -1,0 +2,5 @@ +Mon Sep 25 15:10:23 UTC 2017 - fcro...@suse.com + +- Remove qt-devel from BuildRequires, it is no needed anymore. + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.np8krM/_old 2017-09-26 21:17:40.422970907 +0200 +++ /var/tmp/diff_new_pack.np8krM/_new 2017-09-26 21:17:40.430969783 +0200 @@ -43,7 +43,6 @@ BuildRequires: libxslt BuildRequires: pkg-config BuildRequires: popt-devel -BuildRequires: qt-devel BuildRequires: zlib-devel Requires(pre): %{_sbindir}/groupadd %{_sbindir}/useradd BuildRoot: %{_tmppath}/%{name}-%{version}-build
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-08-24 18:48:02 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Thu Aug 24 18:48:02 2017 rev:47 rq:515109 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2017-05-22 18:08:32.113121519 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-08-24 18:48:10.757069051 +0200 @@ -1,0 +2,26 @@ +Mon Aug 7 23:54:02 UTC 2017 - to...@suse.com + +- Update to version 1.2.0 + - New/updated Processor Support +* ARM Cortex A17 +* IBM Power 9 +* IBM Power 8NV and NVL variants +* IBM z13 +* Intel Goldmont +* Intel Kabylake +* Intel Xeon Phi (Knights Landing) +* Achitecture specific events for Applied Micro X-Gene + - Bug fixes +* #286 - Compilation error: left shift of negative value +* #288 - oprofile fails to build with --enable-pch and gcc-6.2 + - Other fixes +* Fixed compile warning and errors when using GCC 6 or GCC 7 +* Avoid using deprecated readdir_r function +* Store samples in the archive and search the appropriate places + for samples +* Only start the application if the perf events setup was successful +* Corrections in the code and i386 events so "make check" tests pass + +- Drop local patch oprofile-1.1.0-gcc6.patch (upstream) + +--- Old: oprofile-1.1.0-gcc6.patch oprofile-1.1.0.tar.gz New: oprofile-1.2.0.tar.gz Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.eWOjEe/_old 2017-08-24 18:48:13.608667536 +0200 +++ /var/tmp/diff_new_pack.eWOjEe/_new 2017-08-24 18:48:13.624665284 +0200 @@ -17,7 +17,7 @@ Name: oprofile -Version:1.1.0 +Version:1.2.0 Release:0 Summary:System-Wide Profiler for Linux Systems License:GPL-2.0+ and LGPL-2.1+ @@ -30,8 +30,6 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-no-libjvm-version.patch Patch2: %{name}-pfm-ppc.patch -# PATCH FIX UPSTREAM marguer...@opensuse.org - fix FTBFS gcc6 -Patch3: %{name}-%{version}-gcc6.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel @@ -104,7 +102,6 @@ %setup -q %patch1 -p1 %patch2 -p1 -%patch3 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries ++ oprofile-1.1.0.tar.gz -> oprofile-1.2.0.tar.gz ++ 25801 lines of diff (skipped)
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-05-22 18:08:29 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Mon May 22 18:08:29 2017 rev:46 rq:497141 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2017-03-12 20:05:49.230300594 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-05-22 18:08:32.113121519 +0200 @@ -1,0 +2,5 @@ +Sat May 20 19:14:15 UTC 2017 - tchva...@suse.com + +- Depend on java-devel instead of deprecated provide + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.3pcUgY/_old 2017-05-22 18:08:33.532921389 +0200 +++ /var/tmp/diff_new_pack.3pcUgY/_new 2017-05-22 18:08:33.536920825 +0200 @@ -39,7 +39,7 @@ BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: java2-devel-packages +BuildRequires: java-devel BuildRequires: libICE-devel BuildRequires: libtool BuildRequires: libxslt
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-03-12 20:05:48 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Sun Mar 12 20:05:48 2017 rev:45 rq:478763 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2016-07-12 23:51:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-03-12 20:05:49.230300594 +0100 @@ -1,0 +2,6 @@ +Sat Mar 11 20:53:29 UTC 2017 - sfal...@opensuse.org + +- Edited %files to clear unpackaged files builderror in + openSUSE:Factory + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.sHycfq/_old 2017-03-12 20:05:50.022188539 +0100 +++ /var/tmp/diff_new_pack.sHycfq/_new 2017-03-12 20:05:50.022188539 +0100 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -157,12 +157,13 @@ %{_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 +%{_docdir}/%{name}/ophelp.xsd %doc COPYING README TODO ChangeLog-* %files devel %defattr(-,root,root) %{_includedir}/* -%doc doc/op-jit-devel.html +%{_docdir}/%{name}/op-jit-devel.html %dir %{_libdir}/oprofile %{_libdir}/oprofile/libopagent.so
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2016-07-12 23:51:04 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2016-01-01 19:49:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2016-07-12 23:51:08.0 +0200 @@ -1,0 +2,9 @@ +Sat Jul 2 18:17:27 UTC 2016 - i...@marguerite.su + +- add patch: oprofile-1.1.0-gcc6.patch, fixed boo#985359 + * cherry picked upstream commit 39d4d4, so please +remember to drop it next release + * GCC 6 is pickier about some of the type conversions +avoid the intermediate bool type to make it happy + +--- New: oprofile-1.1.0-gcc6.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.5EWUlQ/_old 2016-07-12 23:51:09.0 +0200 +++ /var/tmp/diff_new_pack.5EWUlQ/_new 2016-07-12 23:51:09.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-no-libjvm-version.patch Patch2: %{name}-pfm-ppc.patch +# PATCH FIX UPSTREAM marguer...@opensuse.org - fix FTBFS gcc6 +Patch3: %{name}-%{version}-gcc6.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils-devel @@ -102,6 +104,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries @@ -135,7 +138,6 @@ %{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty -s /bin/false -c "Special user account to be used by OProfile" oprofile 2>/dev/null || : %post -n libopagent1 -p /sbin/ldconfig - %postun -n libopagent1 -p /sbin/ldconfig %files ++ oprofile-1.1.0-gcc6.patch ++ From: William Cohen Subject: Fix FTBFS problem with GCC-6 Date: 2016-02-05 References: boo#985359 Upstream: yes GCC-6 is pickier about some of the type conversions. Avoid the intermediate bool type to make GCC-6 happy. Index: b/libutil++/op_bfd.cpp === --- a/libutil++/op_bfd.cpp +++ b/libutil++/op_bfd.cpp @@ -535,15 +535,13 @@ void op_bfd::get_symbol_range(symbol_ind { op_bfd_symbol const & sym = syms[sym_idx]; - bool const verbose = cverb << (vbfd & vlevel1); - if (anon_obj) start = sym.vma(); else start = sym.filepos(); end = start + sym.size(); - if (!verbose) + if (!(cverb << (vbfd & vlevel1))) return; io_state state(cverb << (vbfd & vlevel1));
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2016-01-01 19:47:37 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2014-09-22 09:23:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2016-01-01 19:49:45.0 +0100 @@ -1,0 +2,31 @@ +Fri Dec 25 10:07:44 UTC 2015 - mplus...@suse.com + +- Update to 1.1.0 + * New/updated Processor Support ++ Broadcom Brahmma-B15 CPU ++ Intel Skylake ++ Intel Airmont ++ Intel Xeon D + * Bug fixes ++ Prevent dropping of samples when the JVM changes memory + mappings ++ Better handling of IBM Power JVM generated zero-sized + mappings ++ Correct handling of anon_hugepage mmap entries for Java ++ Improved oparchive documentation and man page ++ Fixed compile error when using compile fortification ++ Support IBM Power 8 event code larger than sizeof int ++ Avoid changing POSIXLY_CORRECT environment variable for + processes monitored by operf and ocount ++ Ensure correct setting of the extra bits (edge, inv, cmask) + for Intel processors ++ Fix default unit masks for Intel Haswell and Broadwell + processors ++ Correctly initialize operf temporary file header information +- Cleanup spec file with spec-cleaner +- Use url for source +- Drop desktop file since binary it is calling is no longer + present (at least since version 1.0.0) +- Update dependencies + +--- Old: oprofile-1.0.0.tar.bz2 oprofile.desktop New: oprofile-1.1.0.tar.gz Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.Cf4GC1/_old 2016-01-01 19:49:47.0 +0100 +++ /var/tmp/diff_new_pack.Cf4GC1/_new 2016-01-01 19:49:47.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,33 +17,39 @@ Name: oprofile -BuildRequires: binutils-devel -BuildRequires: fdupes -BuildRequires: java2-devel-packages -BuildRequires: libtool -BuildRequires: libxslt -BuildRequires: popt-devel -BuildRequires: qt-devel -BuildRequires: update-desktop-files -%ifarch ppc ppc64 ppc64le -BuildRequires: libpfm-devel >= 4.3.0 -%endif -Url:http://oprofile.sourceforge.net/ -PreReq: /usr/sbin/groupadd /usr/sbin/useradd -Version:1.0.0 +Version:1.1.0 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 +Url:http://oprofile.sourceforge.net/ +Source0: http://prdownloads.sourceforge.net/oprofile/oprofile-%{version}.tar.gz Source2:%{name}.rpmlintrc Source3:baselibs.conf Source4:jvmpi.h Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-no-libjvm-version.patch Patch2: %{name}-pfm-ppc.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: binutils-devel +BuildRequires: docbook-utils +BuildRequires: docbook-xsl-stylesheets +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: java2-devel-packages +BuildRequires: libICE-devel +BuildRequires: libtool +BuildRequires: libxslt +BuildRequires: pkg-config +BuildRequires: popt-devel +BuildRequires: qt-devel +BuildRequires: zlib-devel +Requires(pre): %{_sbindir}/groupadd %{_sbindir}/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%ifarch ppc ppc64 ppc64le +BuildRequires: libpfm-devel >= 4.3.0 +%endif %description OProfile is a system-wide profiler for Linux systems, capable of @@ -101,14 +107,13 @@ # copy files necessary to build Java agent libraries # libjvmpi_oprofile.so and libjvmti_oprofile.so # %S:4 is rpm speak for Source4 (jvmpi.h) -ln -s %_libdir/jvm/java/include/* java/include -test -f java/include/jvmpi.h || ln -s %{S:4} java/include +ln -s %{_libdir}/jvm/java/include/* java/include +test -f java/include/jvmpi.h || ln -s %{SOURCE4} java/include %build -sh autogen.sh -./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ - --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} \ - --with-java
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2014-09-22 09:23:50 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2014-08-16 15:37:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2014-09-22 09:23:52.0 +0200 @@ -1,0 +2,77 @@ +Fri Sep 19 16:05:07 UTC 2014 - to...@suse.com + +- Update to version 1.0.0. THIS IS A MAJOR OPROFILE RELEASE WITH SIGNIFICANT + CHANGES FROM THE PREVIOUS 0.9.9 RELEASE. See changelog below. + +Drop patch: oprofile-add-support-for-intel-silvermont-processor.patch +Drop patch: oprofile-compressed-kernel.patch +Drop patch: oprofile-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch +Drop patch: oprofile-enable-for-new-ppc64le-architecture.patch +Drop patch: oprofile-fix-unable-to-open-cpu_type-file-for-reading-for-ibm-power7.patch +Drop patch: oprofile-make-cpu-type-power8e-equivalent-to-power8.patch + + + Changelog: +Major changes: +- The legacy opcontrol-based profiler has been removed. operf is now the + only supported interface +- GUI component (i.e., oprof_start) has been removed. +- IBS events removed from AMD processors +- Following architectures have been removed (Alpha [except for EV67 which + is supported by operf/ocount], avr32, ia64, IBM Cell, P.A Semi PA64T) +- RTV (real time clock) mode has been removed + +Other incompatibilities: +- Sample data collected with previous releases of OProfile are incompatible + with release 1.0. +- ophelp schema: Major version changed for removal of unit mask 'extra' + attribute and addition of unit mask 'name'. + +New features: +- Enhance ocount to support millisecond time intervals +- Obtain kernel symbols from /proc/kallsyms if no vmlinux file specified +- New Processor Support (Freescale e6500, Freescale e500mc, +Intel Silvermont, ARMv7 Krait, APM X-Gene (ARMv8), +Intel Broadwell, ARMv8 Cortex A57, ARMv8 Cortex A53 +- Added little endian support for IBM POWER8 +- Update events for IBM POWER8 +- Added edge-detect events for IBM POWER7 +- Update events for Intel Haswell + + Bug Fixes: +- opreport schema: Fix count field maxOccurs (changed to 'unbounded') +- Fix compile error on ppc/uClibc platform: 'AT_BASE_PLATFORM' undeclared' +- Duplicate event specs passed to ocount show up twice in output +- Fix operf/ocount default unit mask selection +- ocount: print the unit mask, kernel and user modes if specified for the + event +- ophelp schema is not included in installed files +- Remove unused 'extra' attribute from ophelp schema +- opreport from 'operf --callgraph' profile shows false recursive calls +- Fix handling of default named unit masks longer than 11 chars +- Print unit mask name where applicable in ophelp XML output +- Fix profiling of multi-threaded apps when using "--pid" option +- Fix operf/opreport kernel throttling detection +- Fix sample attribution problem when using multiple events +- exclude/include files option doesn't work for opannotate -a + +- Fix behavior and documentation for '--threshold' option +- Remove hard-coded timeout for JIT dump conversion +- Update Alpha EV67 CPU support and remove all other Alpha CPU support +- operf main process improperly killing conversion process +- Fix up S390 support to work with operf/ocount +- Link ocount with librt for clock_gettime only when needed +- Fix 'Invalid argument' running 'opcontrol --start --callgraph=' in + Timer mode +- Allow root to remove old jitdump files from /tmp/.oprofile/jitdump +- Remove opreport warnings for /no-vmlinux, [vdso], [hypervisor_bucket] + not found +- Fix event codes for marked architected events (IBM ppc64) +- Make operf/ocount detect invalid timer mode from opcontrol +- Reduce overhead of operf waiting for profiled app to end +- Fix "Unable to open cpu_type file for reading" for IBM POWER7+ +- Allow all native events for IBM POWER8 in POWER7 compat mode +- Fix spurious "backtraces skipped due to no file mapping" log entries +- Fix the units for the reported CPU frequency + +--- Old: oprofile-0.9.9.tar.bz2 oprofile-add-support-for-intel-silvermont-processor.patch oprofile-compressed-kernel.patch oprofile-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch oprofile-enable-for-new-ppc64le-architecture.patch oprofile-fix-unable-to-open-cpu_type-f
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2014-08-16 15:37:49 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2014-03-09 18:29:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2014-08-16 15:37:56.0 +0200 @@ -1,0 +2,6 @@ +Thu Aug 14 17:45:58 UTC 2014 - to...@suse.com + +- Add support for Intel Silvermont processor (bnc#891892) + New patch: oprofile-add-support-for-intel-silvermont-processor.patch + +--- New: oprofile-add-support-for-intel-silvermont-processor.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.YwYViw/_old 2014-08-16 15:37:57.0 +0200 +++ /var/tmp/diff_new_pack.YwYViw/_new 2014-08-16 15:37:57.0 +0200 @@ -49,6 +49,7 @@ Patch5: %{name}-fix-unable-to-open-cpu_type-file-for-reading-for-ibm-power7.patch Patch6: %{name}-make-cpu-type-power8e-equivalent-to-power8.patch Patch7: %{name}-pfm-ppc.patch +Patch8: %{name}-add-support-for-intel-silvermont-processor.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -106,6 +107,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries ++ oprofile-add-support-for-intel-silvermont-processor.patch ++ From: Andi Kleen Subject: Add support for Intel Silvermont processor Date: Thu Oct 10 13:12:28 2013 -0500 Git-commit: 4b1497d8befcc4c8b26dc4e4866c3422ae8787c3 References: bnc#891892 Signed-off-by: Tony Jones [adjust for context, no request to take e500/e6500 ppc changes] Add support for Intel Silvermont processor Just add the event list for Intel Silvermont based systems (Avoton, BayTrail) and the usual changes for a new CPU. No new code otherwise. The model number list is incomplete at this point, more will be added in the future. I also finally removed the top level event list descriptions. All the events are only described in the unit masks now (Intel doesn't really have a top level event, and I had to invent descriptions, which was error prone and often wrong) I also removed some outdated document number references. Signed-off-by: Andi Kleen --- events/Makefile.am|1 events/i386/silvermont/events | 26 + events/i386/silvermont/unit_masks | 71 ++ libop/op_cpu_type.c |2 + libop/op_cpu_type.h |1 libop/op_events.c |1 libop/op_hw_specific.h|3 + utils/ophelp.c|5 +- 8 files changed, 108 insertions(+), 2 deletions(-) --- a/events/Makefile.am +++ b/events/Makefile.am @@ -21,6 +21,7 @@ event_files = \ i386/sandybridge/events i386/sandybridge/unit_masks \ i386/ivybridge/events i386/ivybridge/unit_masks \ i386/haswell/events i386/haswell/unit_masks \ + i386/silvermont/events i386/silvermont/unit_masks \ ia64/ia64/events ia64/ia64/unit_masks \ ia64/itanium2/events ia64/itanium2/unit_masks \ ia64/itanium/events ia64/itanium/unit_masks \ --- /dev/null +++ b/events/i386/silvermont/events @@ -0,0 +1,26 @@ +# +# Intel "Silvermont" microarchitecture core events. +# +# See http://ark.intel.com/ for help in identifying Silvermont based CPUs +# +# Note the minimum counts are not discovered experimentally and could be likely +# lowered in many cases without ill effect. +# +include:i386/arch_perfmon +event:0x32 counters:0,1 um:l2_prefetcher_throttle minimum:23 name:l2_prefetcher_throttle : +event:0x3e counters:0,1 um:one minimum:23 name:l2_prefetcher_pref_stream_alloc : +event:0x50 counters:0,1 um:zero minimum:23 name:l2_prefetch_pend_streams_pref_stream_pend_set : +event:0x86 counters:0,1 um:nip_stall minimum:23 name:nip_stall : +event:0x87 counters:0,1 um:decode_stall minimum:23 name:decode_stall : +event:0x96 counters:0,1 um:uip_match minimum:23 name:uip_match : +event:0xc2 counters:0,1 um:uops_retired minimum:203 name:uops_retired : +event:0xc3 counters:0,1 um:x10 minimum:23 name:machine_clears_live_lock_breaker : +event:0xc4 counters:0,1 um:br_inst_retired minimum:203 name:br_inst_retired : +event:0xc5 counters:0,1 um:br_misp_retired minimum:23 name:br_misp_retired : +event:0xca counters:0,1 um:no_alloc_cycles minimum:23 name:no_a
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2014-03-09 18:29:44 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2013-08-10 11:40:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2014-03-09 18:29:46.0 +0100 @@ -1,0 +2,11 @@ +Thu Mar 6 19:40:06 UTC 2014 - to...@suse.com + +- Support ppc64le/power8e (bnc#867091) + added patches: + * oprofile-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch + * oprofile-enable-for-new-ppc64le-architecture.patch + * oprofile-fix-unable-to-open-cpu_type-file-for-reading-for-ibm-power7.patch + * oprofile-make-cpu-type-power8e-equivalent-to-power8.patch + modified patches: + * oprofile-pfm-ppc.patch +--- New: oprofile-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch oprofile-enable-for-new-ppc64le-architecture.patch oprofile-fix-unable-to-open-cpu_type-file-for-reading-for-ibm-power7.patch oprofile-make-cpu-type-power8e-equivalent-to-power8.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.qq8Gvl/_old 2014-03-09 18:29:47.0 +0100 +++ /var/tmp/diff_new_pack.qq8Gvl/_new 2014-03-09 18:29:47.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -25,7 +25,7 @@ BuildRequires: popt-devel BuildRequires: qt-devel BuildRequires: update-desktop-files -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le BuildRequires: libpfm-devel >= 4.3.0 %endif Url:http://oprofile.sourceforge.net/ @@ -44,7 +44,11 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-compressed-kernel.patch Patch2: %{name}-no-libjvm-version.patch -Patch3: %{name}-pfm-ppc.patch +Patch3: %{name}-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch +Patch4: %{name}-enable-for-new-ppc64le-architecture.patch +Patch5: %{name}-fix-unable-to-open-cpu_type-file-for-reading-for-ibm-power7.patch +Patch6: %{name}-make-cpu-type-power8e-equivalent-to-power8.patch +Patch7: %{name}-pfm-ppc.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -98,6 +102,11 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 + mkdir -p java/include # copy files necessary to build Java agent libraries # libjvmpi_oprofile.so and libjvmti_oprofile.so ++ oprofile-configure-error-message-for-missing-libpfm-is-not-informative-enough.patch ++ From: Maynard Johnson Git-commit: a2811baceccff810e055f166792acdf7a920bf8c Subject: configure error message for missing libpfm is not informative enough Date: Wed Oct 9 14:27:54 2013 -0500 configure error message for missing libpfm is not informative enough On the ppc64 architecture, the libpfm library is used to get perf_events encodings for events, so the configure script checks for the availability of that library when building for ppc64. If the library is missing, the configure error message is: checking for perfmon/pfmlib.h... no configure: error: pfmlib.h not found; usually provided in papi devel package However, some newer distros (like Fedora 19) are now delivering separate packages for libpfm and papi, instead of bundling them together. The patch provided herein changes the configure message to reflect that change in packaging. Signed-off-by: Maynard Johnson diff --git a/configure.ac b/configure.ac index 758b676..457145a 100644 --- a/configure.ac +++ b/configure.ac @@ -185,10 +185,10 @@ AC_CANONICAL_HOST if test "$HAVE_PERF_EVENTS" = "1"; then PFM_LIB= if test "$host_cpu" = "powerpc64"; then - AC_CHECK_HEADER(perfmon/pfmlib.h,,[AC_MSG_ERROR([pfmlib.h not found; usually provided in papi devel package])]) + AC_CHECK_HEADER(perfmon/pfmlib.h,,[AC_MSG_ERROR([pfmlib.h not found; may be provided by libpfm devel or papi devel package])]) AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1', [ AC_CHECK_LIB(pfm, pfm_get_event_name, HAVE_LIBPFM3='1'; HAV
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2013-08-10 11:40:31 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile" Changes: --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes2013-01-11 10:45:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2013-08-10 11:40:33.0 +0200 @@ -1,0 +2,11 @@ +Wed Aug 7 17:18:32 UTC 2013 - to...@suse.com + +- Update to version 0.9.9 + http://oprofile.sourceforge.net/release-notes/oprofile-0.9.9 +- New 'ocount' program introduced for collecting raw event counts without + post processing. +- New processor support for Haswell, zEC12, Power8 +- New support for AMD Generic Performance Events and IBM Power ISA 2.07 Architected Events +- Numerous bug fixes. + +--- Old: oprofile-0.9.8.tar.bz2 New: oprofile-0.9.9.tar.bz2 Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.j9nhA4/_old 2013-08-10 11:40:34.0 +0200 +++ /var/tmp/diff_new_pack.j9nhA4/_new 2013-08-10 11:40:34.0 +0200 @@ -30,7 +30,7 @@ %endif Url:http://oprofile.sourceforge.net/ PreReq: /usr/sbin/groupadd /usr/sbin/useradd -Version:0.9.8 +Version:0.9.9 Release:0 Summary:System-Wide Profiler for Linux Systems License:GPL-2.0+ and LGPL-2.1+ ++ oprofile-0.9.8.tar.bz2 -> oprofile-0.9.9.tar.bz2 ++ 25098 lines of diff (skipped) ++ oprofile-pfm-ppc.patch ++ --- /var/tmp/diff_new_pack.j9nhA4/_old 2013-08-10 11:40:35.0 +0200 +++ /var/tmp/diff_new_pack.j9nhA4/_new 2013-08-10 11:40:35.0 +0200 @@ -8,12 +8,12 @@ --- a/configure.ac +++ b/configure.ac -@@ -104,7 +104,7 @@ AC_DEFINE_UNQUOTED(HAVE_PERF_EVENTS, $HA +@@ -184,7 +184,7 @@ AC_DEFINE_UNQUOTED(HAVE_PERF_EVENTS, $HA + AC_CANONICAL_HOST if test "$HAVE_PERF_EVENTS" = "1"; then PFM_LIB= - arch="`uname -m`" -- if test "$arch" = "ppc64"; then -+ if test "$arch" = "ppc64" || test "$arch" = "ppc"; then +- if test "$host_cpu" = "powerpc64"; then ++ if test "$host_cpu" = "powerpc64" || test "$host_cpu" = "powerpc32"; then AC_CHECK_HEADER(perfmon/pfmlib.h,,[AC_MSG_ERROR([pfmlib.h not found; usually provided in papi devel package])]) - AC_CHECK_LIB(pfm,pfm_get_event_name, HAVE_LIBPFM3='1'; HAVE_LIBPFM='1', [ - AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1', + AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1', [ + AC_CHECK_LIB(pfm, pfm_get_event_name, HAVE_LIBPFM3='1'; HAVE_LIBPFM='1', -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2013-01-11 10:45:34 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.changes2012-12-19 14:50:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2013-01-11 10:45:36.0 +0100 @@ -1,0 +2,6 @@ +Thu Jan 3 20:14:41 UTC 2013 - to...@suse.com + +- Add dependancy on libpfm 4.3 for powerpc. +- Add patch 'oprofile-pfm-ppc.patch' (fix configure for 32bit powerpc) + +--- New: oprofile-pfm-ppc.patch Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.nItaci/_old 2013-01-11 10:45:37.0 +0100 +++ /var/tmp/diff_new_pack.nItaci/_new 2013-01-11 10:45:37.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package oprofile # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -25,6 +25,9 @@ BuildRequires: popt-devel BuildRequires: qt-devel BuildRequires: update-desktop-files +%ifarch ppc ppc64 +BuildRequires: libpfm-devel >= 4.3.0 +%endif Url:http://oprofile.sourceforge.net/ PreReq: /usr/sbin/groupadd /usr/sbin/useradd Version:0.9.8 @@ -41,6 +44,7 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: %{name}-compressed-kernel.patch Patch2: %{name}-no-libjvm-version.patch +Patch3: %{name}-pfm-ppc.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -93,6 +97,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries # libjvmpi_oprofile.so and libjvmti_oprofile.so ++ oprofile-pfm-ppc.patch ++ From: Tony Jones Subject: enable pfm detection for 32bit ppc Upstream: no --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ AC_DEFINE_UNQUOTED(HAVE_PERF_EVENTS, $HA if test "$HAVE_PERF_EVENTS" = "1"; then PFM_LIB= arch="`uname -m`" - if test "$arch" = "ppc64"; then + if test "$arch" = "ppc64" || test "$arch" = "ppc"; then AC_CHECK_HEADER(perfmon/pfmlib.h,,[AC_MSG_ERROR([pfmlib.h not found; usually provided in papi devel package])]) AC_CHECK_LIB(pfm,pfm_get_event_name, HAVE_LIBPFM3='1'; HAVE_LIBPFM='1', [ AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1', -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit oprofile for openSUSE:Factory
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.changes2011-11-28 12:55:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2012-12-19 14:50:51.0 +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.0 +0100 +++ /var/tmp/diff_new_pack.s9RQy3/_new 2012-12-19 14:50:52.0 +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 %
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2011-12-06 18:35:02 Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) Package is "oprofile", Maintainer is "to...@suse.com" Changes: Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.hEy2R5/_old 2011-12-06 18:56:32.0 +0100 +++ /var/tmp/diff_new_pack.hEy2R5/_new 2011-12-06 18:56:32.0 +0100 @@ -20,7 +20,7 @@ Name: oprofile BuildRequires: binutils-devel fdupes java2-devel-packages libtool libxslt popt-devel qt-devel update-desktop-files Url:http://oprofile.sourceforge.net/ -License:GPLv2+ ; LGPLv2.1+ +License:GPL-2.0+ ; LGPL-2.1+ Group: Development/Tools/Other PreReq: /usr/sbin/groupadd /usr/sbin/useradd Version:0.9.7 @@ -60,7 +60,7 @@ %package devel Summary:System-Wide Profiler for Linux Systems Group: Development/Libraries/C and C++ -License:GPLv2+ ; LGPLv2.1+ +License:GPL-2.0+ ; LGPL-2.1+ AutoReqProv:on Requires: libopagent1 = %{version}-%{release} binutils-devel @@ -75,7 +75,7 @@ %package -n libopagent1 Summary:System-Wide Profiler for Linux Systems Group: Development/Libraries/C and C++ -License:GPLv2+ ; LGPLv2.1+ +License:GPL-2.0+ ; LGPL-2.1+ AutoReqProv:on %description -n libopagent1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2011-11-28 12:55:18 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.changes2011-09-26 10:35:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2011-11-28 12:55:19.0 +0100 @@ -1,0 +2,5 @@ +Fri Nov 25 10:42:15 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.88VgSe/_old 2011-11-28 12:55:20.0 +0100 +++ /var/tmp/diff_new_pack.88VgSe/_new 2011-11-28 12:55:20.0 +0100 @@ -18,11 +18,10 @@ Name: oprofile -BuildRequires: binutils-devel fdupes java2-devel-packages libxslt popt-devel qt-devel update-desktop-files +BuildRequires: binutils-devel fdupes java2-devel-packages libtool libxslt popt-devel qt-devel update-desktop-files Url:http://oprofile.sourceforge.net/ License:GPLv2+ ; LGPLv2.1+ Group: Development/Tools/Other -AutoReqProv:on PreReq: /usr/sbin/groupadd /usr/sbin/useradd Version:0.9.7 Release:1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at Mon Sep 26 10:36:00 CEST 2011. --- oprofile/oprofile.changes 2011-05-03 05:08:13.0 +0200 +++ /mounts/work_src_done/STABLE/oprofile/oprofile.changes 2011-09-24 19:20:47.0 +0200 @@ -1,0 +2,7 @@ +Sat Sep 24 16:34:13 UTC 2011 - to...@suse.com + +- Upgrade to version 0.9.7. +- Drop unneeded patches. +- Remove non-utf8 characters from changelog + +--- @@ -313,2 +320,2 @@ - � Docu overhaul - � Feature additions + · Docu overhaul + · Feature additions @@ -368 +375 @@ - � Pentium IV support, including support for HyperThreading, is + · Pentium IV support, including support for HyperThreading, is @@ -370 +377 @@ - � Timer interrupt support for PA-RISC, ppc64, and sparc64 in 2.5 + · Timer interrupt support for PA-RISC, ppc64, and sparc64 in 2.5 @@ -372 +379 @@ - � HyperThreading support for Pentium IV on 2.4 kernels is not yet + · HyperThreading support for Pentium IV on 2.4 kernels is not yet @@ -375,3 +382,3 @@ - � Support for the IA-64 architecture has been added for 2.4 kernels. - � OProfile's userspace now works correctly on all 64-bit platforms. - � A new script, opcontrol, has been added to unify control of the + · Support for the IA-64 architecture has been added for 2.4 kernels. + · OProfile's userspace now works correctly on all 64-bit platforms. + · A new script, opcontrol, has been added to unify control of the @@ -380,2 +387,2 @@ - � Fixed upstream to compile with gcc 3.3 - � Several bugfixes + · Fixed upstream to compile with gcc 3.3 + · Several bugfixes calling whatdependson for head-i586 Old: oprofile-0.9.6-gcc46.patch oprofile-0.9.6.tar.bz2 oprofile-qt4.diff New: oprofile-0.9.7.tar.bz2 Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.UfrkHg/_old 2011-09-26 10:35:54.0 +0200 +++ /var/tmp/diff_new_pack.UfrkHg/_new 2011-09-26 10:35:54.0 +0200 @@ -24,8 +24,8 @@ Group: Development/Tools/Other AutoReqProv:on PreReq: /usr/sbin/groupadd /usr/sbin/useradd -Version:0.9.6 -Release:11 +Version:0.9.7 +Release:1 Summary:System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.bz2 @@ -36,8 +36,6 @@ Source5:README-BEFORE-ADDING-PATCHES Patch1: oprofile-0.9.5-buildfixes.diff Patch2: oprofile-0.9.4-fixes.diff -Patch3: oprofile-qt4.diff -Patch4: oprofile-0.9.6-gcc46.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -91,10 +89,8 @@ %prep %setup -q -%patch1 +%patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries # libjvmpi_oprofile.so and libjvmti_oprofile.so @@ -108,6 +104,13 @@ --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} \ --with-kernel-support --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")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec grep -E -e __DATE__ -e __TIME__ {} + +find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + make %{?jobs:-j%jobs} %install @@ -138,7 +141,7 @@ %{_libdir}/libjvm[tp]i_oprofile.so %exclude %{_libdir}/libjvm[tp]i_oprofile.*a %doc doc/oprofile.html doc/internals.html doc/opreport.xsd -%doc COPYING README TODO ChangeLog +%doc COPYING README TODO ChangeLog-* %files devel %defattr(-,root,root) ++ oprofile-0.9.4-fixes.diff ++ --- /var/tmp/diff_new_pack.UfrkHg/_old 2011-09-26 10:35:54.0 +0200 +++ /var/tmp/diff_new_pack.UfrkHg/_new 2011-09-26 10:35:54.0 +0200 @@ -3,10 +3,25 @@ libutil++/bfd_support.cpp |3 +++ 2 files changed, 5 insertions(+) -Index: oprofile-0.9.6/libutil++/bfd_support.cpp -=== oprofile-0.9.6.orig/libutil++/bfd_support.cpp 2009-11-24 16:25:17.0 +0100 -+++ oprofile-0.9.6/libutil++/bfd_support.cpp 2010-02-03 16:59:58.0 +0100 +--- a/agents/jvmpi/jvmpi_oprofile.cpp b/agents/jvmpi/jvmpi_oprofile.cpp +@@ -24,12 +24,14 @@ + * + */ + ++#include + #include + #include + #include + #include + #include + #include ++#include + + extern "C" { + #include +--- a/libutil++/bfd_support.cpp b/libutil++/bfd_support.cpp @@ -370,6 +370,9 @@ bool interesting_symbol(asymb
commit oprofile for openSUSE:Factory
Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at Wed May 4 14:37:22 CEST 2011. --- oprofile/oprofile.changes 2010-06-29 17:10:30.0 +0200 +++ /mounts/work_src_done/STABLE/oprofile/oprofile.changes 2011-05-03 05:08:13.0 +0200 @@ -1,0 +2,16 @@ +Tue May 3 03:02:55 UTC 2011 - idoen...@novell.com + +- Add oprofile-0.9.6-gcc46.patch to fix compilation with gcc 4.6 + +--- +Thu Apr 28 18:33:19 UTC 2011 - to...@novell.com + +- Add support for building using qt4 (no bnc) + +--- +Thu Apr 28 18:14:54 UTC 2011 - to...@novell.com + +- Add README-BEFORE-ADDING-PATCHES local file documenting required patch + header + +--- calling whatdependson for head-i586 New: README-BEFORE-ADDING-PATCHES oprofile-0.9.6-gcc46.patch oprofile-qt4.diff Other differences: -- ++ oprofile.spec ++ --- /var/tmp/diff_new_pack.6FAYMN/_old 2011-05-04 14:31:18.0 +0200 +++ /var/tmp/diff_new_pack.6FAYMN/_new 2011-05-04 14:31:18.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package oprofile (Version 0.9.6) +# spec file for package oprofile # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -18,14 +18,14 @@ Name: oprofile -BuildRequires: binutils-devel fdupes java2-devel-packages libxslt popt-devel qt3-devel update-desktop-files +BuildRequires: binutils-devel fdupes java2-devel-packages libxslt popt-devel qt-devel update-desktop-files Url:http://oprofile.sourceforge.net/ License:GPLv2+ ; LGPLv2.1+ Group: Development/Tools/Other AutoReqProv:on PreReq: /usr/sbin/groupadd /usr/sbin/useradd Version:0.9.6 -Release:3 +Release:11 Summary:System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.bz2 @@ -33,8 +33,11 @@ Source2:%{name}.rpmlintrc 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 +Patch3: oprofile-qt4.diff +Patch4: oprofile-0.9.6-gcc46.patch %description OProfile is a system-wide profiler for Linux systems, capable of @@ -90,6 +93,8 @@ %setup -q %patch1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 mkdir -p java/include # copy files necessary to build Java agent libraries # libjvmpi_oprofile.so and libjvmti_oprofile.so @@ -102,7 +107,7 @@ ./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} \ --with-kernel-support --with-java=$PWD/java \ - --with-qt-libraries=%_libdir/qt3/%_lib + --enable-gui=qt4 make %{?jobs:-j%jobs} %install ++ README-BEFORE-ADDING-PATCHES ++ All patches need to have a patch description header similar to what is used in SuSE kernel git tree. Patches added without this will be reverted. Thanks. From: Name Subject: Summary of fix Date: date References: bnc#xx (bugzilla reference if applicable) Upstream: yes (provide repo/commit-id in description) or no (provide reason) Signed-Off-by: Name (same as From: if committer is patch author) Short paragraph describing problem/fix. References to upstream repo-path/commit-id if applicable. ++ oprofile-0.9.6-gcc46.patch ++ From: Ismail Doenmez Subject: Fix compilation with gcc 4.6 Date: 09.03.2011 References: N/A Upstream: yes Signed-Off-by: William Cohen Do not use mutable for reference variable. Upstream commit id: b18f60db60487ada38d5f04f52981628b28c6835 diff -up oprofile-0.9.6/libpp/format_output.h.mutable oprofile-0.9.6/libpp/format_output.h --- oprofile-0.9.6/libpp/format_output.h.mutable2011-02-09 10:20:29.598713997 -0500 +++ oprofile-0.9.6/libpp/format_output.h2011-02-09 11:39:48.504714000 -0500 @@ -91,7 +91,7 @@ protected: symbol_entry const & symbol; sample_entry const & sample; size_t pclass; - mutable counts_t & counts; + counts_t & counts; extra_images const & extra; double diff; }; ++ oprofile-qt4.diff ++ From: maynardj Date: Fri Feb 25 11:50:18 2011 -0600 Subject: Use qt3Support to allow building with either qt3 or qt4 Git-Repo: git://oprofile.git.sourceforge.net/gitroot/oprofile/oprofile Git-Commit: 7e4a107edca55f01dc62d2351c85264a3bc97fd3 R