SHA256
1
0
forked from pool/oprofile
OBS User unknown 2007-06-18 16:27:23 +00:00 committed by Git OBS Bridge
parent 5ad216316e
commit 62b25b5762
6 changed files with 23 additions and 57 deletions

View File

@ -1,36 +0,0 @@
diff -paur ../sles10_src/doc/opcontrol.1.in ./doc/opcontrol.1.in
--- ../sles10_src/doc/opcontrol.1.in 2006-11-22 16:03:20.000000000 -0600
+++ ./doc/opcontrol.1.in 2006-11-22 16:09:50.000000000 -0600
@@ -104,8 +104,9 @@ options and 'none' turns off separation.
.TP
.BI "--callgraph=#depth"
Enable callgraph sample collection with a maximum depth. Use 0 to disable
-callgraph profiling. This option is currently only usable on x86, using a
-2.6+ kernel with callgraph support enabled.
+callgraph profiling. This option is available on x86 using a
+2.6+ kernel with callgraph support enabled. It is also available
+on PowerPC using a 2.6.17+ kernel.
.br
.TP
.BI "--image="[name,name...|"all"]
diff -paur ../sles10_src/doc/oprofile.xml ./doc/oprofile.xml
--- ../sles10_src/doc/oprofile.xml 2006-11-22 16:03:20.000000000 -0600
+++ ./doc/oprofile.xml 2006-11-22 16:05:33.000000000 -0600
@@ -619,8 +619,15 @@ is required. These settings are stored i
<term><option>--callgraph=</option>#depth</term>
<listitem><para>
Enable call-graph sample collection with a maximum depth. Use 0 to disable
- callgraph profiling. Currently this requires a recent
- 2.6 kernel, and x86.
+ callgraph profiling. NOTE: Callgraph support is available on a limited
+ number of platforms at this time; for example:
+ <para>
+ <itemizedlist>
+ <listitem><para>x86 with recent 2.6 kernel</para></listitem>
+ <listitem><para>ARM with recent 2.6 kernel</para></listitem>
+ <listitem><para>PowerPC with 2.6.17 kernel</para></listitem>
+ </itemizedlist>
+ </para>
</para></listitem>
</varlistentry>
<varlistentry>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b3780ee09efe665a69151c994e0e5f01a56c57338660c18df30916904df83a6
size 741870

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1536b6ba70f88ba7b246f98161c44c885a49162688755e3c4668466b4039cf1
size 853486

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 18 17:19:04 CEST 2007 - schwab@suse.de
- Update to oprofile 0.9.3-rc1.
-------------------------------------------------------------------
Thu Jan 11 11:19:25 CET 2007 - schwab@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package oprofile (Version 0.9.2)
# spec file for package oprofile (Version 0.9.3_rc1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -16,14 +16,14 @@ URL: http://oprofile.sourceforge.net/
License: GNU General Public License (GPL)
Group: Development/Tools/Other
Autoreqprov: on
Version: 0.9.2
Release: 31
Version: 0.9.3_rc1
Release: 1
%define oversion %(echo %version | sed s/_/-/)
Summary: System-Wide Profiler for Linux Systems
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.gz
Source: %{name}-%{oversion}.tar.gz
Source1: %{name}.desktop
Patch: %{name}-%{version}.diff
Patch1: doc-update.diff
Patch: %{name}-%{oversion}.diff
Summary: System-Wide Profiler for Linux Systems
Group: Development/Tools/Other
@ -58,24 +58,18 @@ Authors:
Bob Montgomery <bobm@fc.hp.com>
%prep
%setup -q
%setup -q -n %{name}-%{oversion}
%patch
%patch1
%build
./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr --mandir=%{_mandir} \
--with-kernel-support=yes \
--with-kernel-support \
--with-qt-libraries=%_libdir/qt3/%_lib
make %{?jobs:-j%jobs}
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/oprofile
make DESTDIR=$RPM_BUILD_ROOT DOCDIR=$RPM_BUILD_ROOT%{_docdir}/oprofile install
rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/oprofile.html
rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/internals.html
make DESTDIR=$RPM_BUILD_ROOT htmldir=%{_docdir}/oprofile install
%suse_update_desktop_file -i %name Development Profiling
%clean
@ -86,10 +80,13 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/*
/usr/share/applications/*.desktop
/usr/share/oprofile
%doc %{_mandir}/man1/*
%doc doc/oprofile.html COPYING README TODO ChangeLog
%{_mandir}/man1/*
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
%doc COPYING README TODO ChangeLog
%changelog -n oprofile
%changelog
* Mon Jun 18 2007 - schwab@suse.de
- Update to oprofile 0.9.3-rc1.
* Thu Jan 11 2007 - schwab@suse.de
- Add binutils-devel to BuildRequires.
* Mon Sep 18 2006 - schwab@suse.de