From b6d8cb32be10221e69ac407c4728dd1deecec750896fa5fdaa4a47468c08779f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 11 Oct 2007 23:06:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oprofile?expand=0&rev=5 --- oprofile-0.9.3.diff | 202 +++++++++++++++++++++++++++++++++++++++++++- oprofile.changes | 7 +- oprofile.spec | 11 +-- 3 files changed, 211 insertions(+), 9 deletions(-) diff --git a/oprofile-0.9.3.diff b/oprofile-0.9.3.diff index fd912af..124c68d 100644 --- a/oprofile-0.9.3.diff +++ b/oprofile-0.9.3.diff @@ -1,6 +1,70 @@ +--- gui/oprof_start_util.cpp ++++ gui/oprof_start_util.cpp +@@ -13,6 +13,7 @@ + #include + #include + ++#include + #include + #include + #include +--- libabi/opimport.cpp ++++ libabi/opimport.cpp +@@ -17,6 +17,8 @@ + #include + #include + #include ++#include ++#include + + #include + #include +--- libpp/op_header.cpp ++++ libpp/op_header.cpp +@@ -15,6 +15,8 @@ + #include + #include + ++#include ++ + #include "op_exception.h" + #include "odb.h" + #include "op_cpu_type.h" +--- libpp/profile.cpp ++++ libpp/profile.cpp +@@ -17,6 +17,7 @@ + #include + + #include ++#include + + #include "op_exception.h" + #include "op_header.h" +--- libpp/sample_container.cpp ++++ libpp/sample_container.cpp +@@ -14,6 +14,8 @@ + #include + #include + ++#include ++ + #include "sample_container.h" + + using namespace std; +--- libregex/demangle_symbol.cpp ++++ libregex/demangle_symbol.cpp +@@ -10,6 +10,8 @@ + + #include "config.h" + ++#include ++ + #include "demangle_symbol.h" + #include "op_regex.h" + --- libregex/op_regex.cpp +++ libregex/op_regex.cpp -@@ -282,15 +282,15 @@ +@@ -282,15 +282,15 @@ void setup_regex(regular_expression_repl string left = line; left_rule.execute(left); if (left == line) { @@ -20,7 +84,7 @@ } regex.add_pattern(left, right); -@@ -301,8 +301,8 @@ +@@ -301,8 +301,8 @@ void setup_regex(regular_expression_repl string var_value = line; var_value_rule.execute(var_value); if (var_value == line) { @@ -31,9 +95,141 @@ } regex.add_definition(var_name, var_value); +--- libutil++/bfd_spu_support.cpp ++++ libutil++/bfd_spu_support.cpp +@@ -14,7 +14,8 @@ + #include "config.h" + #include "cverb.h" + +-#include ++#include ++#include + #include + #include + #include +--- libutil++/bfd_support.cpp ++++ libutil++/bfd_support.cpp +@@ -15,6 +15,8 @@ + #include "string_manip.h" + #include "cverb.h" + ++#include ++#include + #include + #include + #include +--- libutil++/child_reader.cpp ++++ libutil++/child_reader.cpp +@@ -12,6 +12,9 @@ + #include + #include + ++#include ++#include ++#include + #include + #include + #include +--- libutil++/cverb.cpp ++++ libutil++/cverb.cpp +@@ -9,6 +9,7 @@ + * @author John Levon + */ + ++#include + #include + #include + #include +--- libutil++/file_manip.cpp ++++ libutil++/file_manip.cpp +@@ -16,6 +16,7 @@ + #include + #include + ++#include + #include + #include + #include +--- libutil++/op_bfd.cpp ++++ libutil++/op_bfd.cpp +@@ -166,7 +166,7 @@ op_bfd::~op_bfd() + } + + +-unsigned long const op_bfd::get_start_offset(bfd_vma vma) const ++unsigned long op_bfd::get_start_offset(bfd_vma vma) const + { + if (!vma || !ibfd.valid()) { + filepos_map_t::const_iterator it = filepos_map.find(".text"); +--- libutil++/op_bfd.h ++++ libutil++/op_bfd.h +@@ -171,7 +171,7 @@ public: + * Otherwise, return the filepos of a section with a matching + * vma. + */ +- unsigned long const get_start_offset(bfd_vma vma = 0) const; ++ unsigned long get_start_offset(bfd_vma vma = 0) const; + + /** + * Return the image name of the underlying binary image. For an +--- libutil++/op_spu_bfd.cpp ++++ libutil++/op_spu_bfd.cpp +@@ -13,6 +13,8 @@ + #include + #include + ++#include ++#include + #include + + #include "op_bfd.h" +--- pp/common_option.cpp ++++ pp/common_option.cpp +@@ -13,6 +13,8 @@ + #include + #include + ++#include ++ + #include "op_config.h" + #include "locate_images.h" + #include "op_exception.h" +--- pp/opannotate_options.cpp ++++ pp/opannotate_options.cpp +@@ -14,6 +14,8 @@ + #include + #include + ++#include ++ + #include "profile_spec.h" + #include "arrange_profiles.h" + #include "op_exception.h" +--- pp/oparchive.cpp ++++ pp/oparchive.cpp +@@ -13,6 +13,8 @@ + #include + #include + ++#include ++ + #include + #include + +--- pp/opgprof_options.cpp ++++ pp/opgprof_options.cpp +@@ -14,6 +14,8 @@ + #include + #include + ++#include ++ + #include "opgprof_options.h" + #include "popt_options.h" + #include "cverb.h" --- utils/opcontrol +++ utils/opcontrol -@@ -452,11 +452,20 @@ +@@ -489,11 +489,20 @@ get_image_range() return; fi diff --git a/oprofile.changes b/oprofile.changes index f3b884e..7400b88 100644 --- a/oprofile.changes +++ b/oprofile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 11 15:24:20 CEST 2007 - schwab@suse.de + +- Fix missing includes. + ------------------------------------------------------------------- Tue Jul 17 14:08:54 CEST 2007 - schwab@suse.de @@ -41,7 +46,7 @@ Thu May 4 14:52:58 CEST 2006 - schwab@suse.de ------------------------------------------------------------------- Mon Feb 27 18:31:44 CET 2006 - schwab@suse.de -- Add events for power5+ [#152494]. +- Add events for Power5+ [#152494]. ------------------------------------------------------------------- Fri Jan 27 02:18:47 CET 2006 - mls@suse.de diff --git a/oprofile.spec b/oprofile.spec index 93a29e8..9ae7a27 100644 --- a/oprofile.spec +++ b/oprofile.spec @@ -12,12 +12,12 @@ Name: oprofile BuildRequires: binutils-devel libxslt popt-devel qt3-devel update-desktop-files -URL: http://oprofile.sourceforge.net/ +Url: http://oprofile.sourceforge.net/ License: GPL v2 or later Group: Development/Tools/Other -Autoreqprov: on +AutoReqProv: on Version: 0.9.3 -Release: 1 +Release: 28 Summary: System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.gz @@ -80,8 +80,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %doc doc/oprofile.html doc/internals.html doc/opreport.xsd %doc COPYING README TODO ChangeLog - %changelog +* Thu Oct 11 2007 - schwab@suse.de +- Fix missing includes. * Tue Jul 17 2007 - schwab@suse.de - Update to oprofile 0.9.3. * Wed Jul 04 2007 - schwab@suse.de @@ -99,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT * Thu May 04 2006 - schwab@suse.de - Fix last change. * Mon Feb 27 2006 - schwab@suse.de -- Add events for power5+ [#152494]. +- Add events for Power5+ [#152494]. * Fri Jan 27 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Jan 25 2006 - schwab@suse.de