This commit is contained in:
parent
c6d6868711
commit
b6d8cb32be
@ -1,6 +1,70 @@
|
|||||||
|
--- gui/oprof_start_util.cpp
|
||||||
|
+++ gui/oprof_start_util.cpp
|
||||||
|
@@ -13,6 +13,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <glob.h>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
#include <cerrno>
|
||||||
|
#include <vector>
|
||||||
|
#include <cmath>
|
||||||
|
--- libabi/opimport.cpp
|
||||||
|
+++ libabi/opimport.cpp
|
||||||
|
@@ -17,6 +17,8 @@
|
||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
#include <cassert>
|
||||||
|
+#include <cstdlib>
|
||||||
|
+#include <cstring>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
--- libpp/op_header.cpp
|
||||||
|
+++ libpp/op_header.cpp
|
||||||
|
@@ -15,6 +15,8 @@
|
||||||
|
#include <set>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
|
+#include <cstring>
|
||||||
|
+
|
||||||
|
#include "op_exception.h"
|
||||||
|
#include "odb.h"
|
||||||
|
#include "op_cpu_type.h"
|
||||||
|
--- libpp/profile.cpp
|
||||||
|
+++ libpp/profile.cpp
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
|
#include <cerrno>
|
||||||
|
+#include <cstring>
|
||||||
|
|
||||||
|
#include "op_exception.h"
|
||||||
|
#include "op_header.h"
|
||||||
|
--- libpp/sample_container.cpp
|
||||||
|
+++ libpp/sample_container.cpp
|
||||||
|
@@ -14,6 +14,8 @@
|
||||||
|
#include <algorithm>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
+#include <climits>
|
||||||
|
+
|
||||||
|
#include "sample_container.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
--- libregex/demangle_symbol.cpp
|
||||||
|
+++ libregex/demangle_symbol.cpp
|
||||||
|
@@ -10,6 +10,8 @@
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+
|
||||||
|
#include "demangle_symbol.h"
|
||||||
|
#include "op_regex.h"
|
||||||
|
|
||||||
--- libregex/op_regex.cpp
|
--- libregex/op_regex.cpp
|
||||||
+++ 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;
|
string left = line;
|
||||||
left_rule.execute(left);
|
left_rule.execute(left);
|
||||||
if (left == line) {
|
if (left == line) {
|
||||||
@ -20,7 +84,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
regex.add_pattern(left, right);
|
regex.add_pattern(left, right);
|
||||||
@@ -301,8 +301,8 @@
|
@@ -301,8 +301,8 @@ void setup_regex(regular_expression_repl
|
||||||
string var_value = line;
|
string var_value = line;
|
||||||
var_value_rule.execute(var_value);
|
var_value_rule.execute(var_value);
|
||||||
if (var_value == line) {
|
if (var_value == line) {
|
||||||
@ -31,9 +95,141 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
regex.add_definition(var_name, var_value);
|
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 <stdlib.h>
|
||||||
|
+#include <cstdlib>
|
||||||
|
+#include <cstring>
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
#include <sstream>
|
||||||
|
--- libutil++/bfd_support.cpp
|
||||||
|
+++ libutil++/bfd_support.cpp
|
||||||
|
@@ -15,6 +15,8 @@
|
||||||
|
#include "string_manip.h"
|
||||||
|
#include "cverb.h"
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+#include <cstring>
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
#include <sstream>
|
||||||
|
--- libutil++/child_reader.cpp
|
||||||
|
+++ libutil++/child_reader.cpp
|
||||||
|
@@ -12,6 +12,9 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+#include <cstring>
|
||||||
|
+#include <climits>
|
||||||
|
#include <cerrno>
|
||||||
|
#include <sstream>
|
||||||
|
#include <iostream>
|
||||||
|
--- libutil++/cverb.cpp
|
||||||
|
+++ libutil++/cverb.cpp
|
||||||
|
@@ -9,6 +9,7 @@
|
||||||
|
* @author John Levon
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <cstring>
|
||||||
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
#include <map>
|
||||||
|
--- libutil++/file_manip.cpp
|
||||||
|
+++ libutil++/file_manip.cpp
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
#include <fnmatch.h>
|
||||||
|
#include <utime.h>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <cerrno>
|
||||||
|
#include <iostream>
|
||||||
|
--- 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 <fcntl.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
+#include <cstring>
|
||||||
|
+#include <cstdlib>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
#include "op_bfd.h"
|
||||||
|
--- pp/common_option.cpp
|
||||||
|
+++ pp/common_option.cpp
|
||||||
|
@@ -13,6 +13,8 @@
|
||||||
|
#include <sstream>
|
||||||
|
#include <iterator>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+
|
||||||
|
#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 <iterator>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+
|
||||||
|
#include "profile_spec.h"
|
||||||
|
#include "arrange_profiles.h"
|
||||||
|
#include "op_exception.h"
|
||||||
|
--- pp/oparchive.cpp
|
||||||
|
+++ pp/oparchive.cpp
|
||||||
|
@@ -13,6 +13,8 @@
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+
|
||||||
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
--- pp/opgprof_options.cpp
|
||||||
|
+++ pp/opgprof_options.cpp
|
||||||
|
@@ -14,6 +14,8 @@
|
||||||
|
#include <iterator>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
+#include <cstdlib>
|
||||||
|
+
|
||||||
|
#include "opgprof_options.h"
|
||||||
|
#include "popt_options.h"
|
||||||
|
#include "cverb.h"
|
||||||
--- utils/opcontrol
|
--- utils/opcontrol
|
||||||
+++ utils/opcontrol
|
+++ utils/opcontrol
|
||||||
@@ -452,11 +452,20 @@
|
@@ -489,11 +489,20 @@ get_image_range()
|
||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -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
|
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
|
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
|
Fri Jan 27 02:18:47 CET 2006 - mls@suse.de
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
Name: oprofile
|
Name: oprofile
|
||||||
BuildRequires: binutils-devel libxslt popt-devel qt3-devel update-desktop-files
|
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
|
License: GPL v2 or later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 0.9.3
|
Version: 0.9.3
|
||||||
Release: 1
|
Release: 28
|
||||||
Summary: System-Wide Profiler for Linux Systems
|
Summary: System-Wide Profiler for Linux Systems
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
@ -80,8 +80,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
|
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
|
||||||
%doc COPYING README TODO ChangeLog
|
%doc COPYING README TODO ChangeLog
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 11 2007 - schwab@suse.de
|
||||||
|
- Fix missing includes.
|
||||||
* Tue Jul 17 2007 - schwab@suse.de
|
* Tue Jul 17 2007 - schwab@suse.de
|
||||||
- Update to oprofile 0.9.3.
|
- Update to oprofile 0.9.3.
|
||||||
* Wed Jul 04 2007 - schwab@suse.de
|
* Wed Jul 04 2007 - schwab@suse.de
|
||||||
@ -99,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* Thu May 04 2006 - schwab@suse.de
|
* Thu May 04 2006 - schwab@suse.de
|
||||||
- Fix last change.
|
- Fix last change.
|
||||||
* Mon Feb 27 2006 - schwab@suse.de
|
* Mon Feb 27 2006 - schwab@suse.de
|
||||||
- Add events for power5+ [#152494].
|
- Add events for Power5+ [#152494].
|
||||||
* Fri Jan 27 2006 - mls@suse.de
|
* Fri Jan 27 2006 - mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Wed Jan 25 2006 - schwab@suse.de
|
* Wed Jan 25 2006 - schwab@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user