3
0
forked from pool/systemtap
OBS User unknown 2008-01-30 20:34:34 +00:00 committed by Git OBS Bridge
parent 39ff8fe8c3
commit bba61bc3c8
5 changed files with 48 additions and 108 deletions

View File

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

View File

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

View File

@ -1,71 +0,0 @@
diff -ruN src-old/staptree.cxx src/staptree.cxx
--- src-old/staptree.cxx 2007-12-11 14:45:28.000000000 +0100
+++ src/staptree.cxx 2007-12-17 16:05:19.000000000 +0100
@@ -2390,3 +2390,30 @@
require <expression*> (&v, &n, s);
return n;
}
+
+template <> void
+require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
+{
+ if (src != NULL)
+ {
+ symbol *array_src=NULL, *array_dst=NULL;
+ hist_op *hist_src=NULL, *hist_dst=NULL;
+
+ classify_indexable(src, array_src, hist_src);
+
+ *dst = NULL;
+
+ if (array_src)
+ {
+ require <symbol*> (v, &array_dst, array_src);
+ *dst = array_dst;
+ }
+ else
+ {
+ require <hist_op*> (v, &hist_dst, hist_src);
+ *dst = hist_dst;
+ }
+ assert (*dst);
+ }
+}
+
diff -ruN src-old/staptree.h src/staptree.h
--- src-old/staptree.h 2007-12-11 14:45:29.000000000 +0100
+++ src/staptree.h 2007-12-17 16:06:15.000000000 +0100
@@ -848,31 +848,8 @@
}
}
-template <> static void
-require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
-{
- if (src != NULL)
- {
- symbol *array_src=NULL, *array_dst=NULL;
- hist_op *hist_src=NULL, *hist_dst=NULL;
-
- classify_indexable(src, array_src, hist_src);
-
- *dst = NULL;
-
- if (array_src)
- {
- require <symbol*> (v, &array_dst, array_src);
- *dst = array_dst;
- }
- else
- {
- require <hist_op*> (v, &hist_dst, hist_src);
- *dst = hist_dst;
- }
- assert (*dst);
- }
-}
+template <> void
+require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src);
template <typename T> void
provide (deep_copy_visitor* v, T src)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 30 18:26:01 CET 2008 - tiwai@suse.de
- updated to snapshot 20080126
* fix configure and automake stuff
* gcc 4.3 fix is included
* ufprobes fixes, improvements
* reorganized probe condition implementation.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 11 17:10:09 CET 2008 - tiwai@suse.de Fri Jan 11 17:10:09 CET 2008 - tiwai@suse.de

View File

@ -12,17 +12,16 @@
Name: systemtap Name: systemtap
BuildRequires: gcc-c++ glib2-devel libcap-devel libebl-devel pkg-config sqlite-devel BuildRequires: gcc-c++ glib2-devel libcap-devel libebl-devel pkg-config sqlite-devel
%define package_version 20080105 %define package_version 20080126
License: GPL v2 or later License: GPL v2 or later
Version: 0.6 Version: 0.6
Release: 18 Release: 25
Summary: Instrumentation System Summary: Instrumentation System
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Url: http://sourceware.org/systemtap/ Url: http://sourceware.org/systemtap/
# Requires: kernel-source gcc make # Requires: kernel-source gcc make
# Suggest: kernel-smp-debuginfo # Suggest: kernel-smp-debuginfo
Source: ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-%{package_version}.tar.bz2 Source: ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-%{package_version}.tar.bz2
Patch: systemtap-gcc43-fixes.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -42,9 +41,6 @@ Authors:
%prep %prep
# %setup -n %{name}-%{package_version} -q -a1 # %setup -n %{name}-%{package_version} -q -a1
%setup -n src -q %setup -n src -q
%if %suse_version > 1030
%patch -p1
%endif
%build %build
%configure %configure
@ -67,79 +63,85 @@ rm -rf ${RPM_BUILD_ROOT}
%dir %attr(0755,root,root) /var/cache/systemtap %dir %attr(0755,root,root) /var/cache/systemtap
%changelog %changelog
* Fri Jan 11 2008 - tiwai@suse.de * Wed Jan 30 2008 tiwai@suse.de
- updated to snapshot 20080126
* fix configure and automake stuff
* gcc 4.3 fix is included
* ufprobes fixes, improvements
* reorganized probe condition implementation.
* Fri Jan 11 2008 tiwai@suse.de
- updated to snapshot 20080105 - updated to snapshot 20080105
- fixed build of the snapshot with gcc 4.3 - fixed build of the snapshot with gcc 4.3
* Mon Nov 19 2007 - tiwai@suse.de * Mon Nov 19 2007 tiwai@suse.de
- enable gcc-4.3 patch (yes, we use only gcc4.3 now) - enable gcc-4.3 patch (yes, we use only gcc4.3 now)
- updated to snapshot 20071117 - updated to snapshot 20071117
* Thu Oct 25 2007 - tiwai@suse.de * Thu Oct 25 2007 tiwai@suse.de
- disable gcc-4.3 fix again since it breaks older gccs... - disable gcc-4.3 fix again since it breaks older gccs...
* Wed Oct 24 2007 - tiwai@suse.de * Wed Oct 24 2007 tiwai@suse.de
- fix build with gcc 4.3 - fix build with gcc 4.3
* Mon Oct 22 2007 - tiwai@suse.de * Mon Oct 22 2007 tiwai@suse.de
- updated to snapshot 20071020: - updated to snapshot 20071020:
* bump up version 0.6 * bump up version 0.6
* bunch of updates and fixes, see ChangeLog * bunch of updates and fixes, see ChangeLog
* Tue Aug 14 2007 - tiwai@suse.de * Tue Aug 14 2007 tiwai@suse.de
- updated to snapshot 20070811: - updated to snapshot 20070811:
* Updated -m MODNAME usage * Updated -m MODNAME usage
* Rework on line editing functions * Rework on line editing functions
* Mon Jul 16 2007 - tiwai@suse.de * Mon Jul 16 2007 tiwai@suse.de
- updated to snapshot 20070714: - updated to snapshot 20070714:
* configure fix for sqlite * configure fix for sqlite
* support for crash extension module * support for crash extension module
* new enum for type column in coverage_element * new enum for type column in coverage_element
* Wed Jul 04 2007 - tiwai@suse.de * Wed Jul 04 2007 tiwai@suse.de
- updated to snapshot 20070630: - updated to snapshot 20070630:
* auto-tools fixes, sqlite3 requirement * auto-tools fixes, sqlite3 requirement
- add sqlite-devel and glib2-devel to buildrequires - add sqlite-devel and glib2-devel to buildrequires
* Wed Jun 06 2007 - tiwai@suse.de * Wed Jun 06 2007 tiwai@suse.de
- updated to snapshot 20070602: - updated to snapshot 20070602:
* fix for gcc4.3 * fix for gcc4.3
* minor fixes in elaborate.* * minor fixes in elaborate.*
- include the snapshot date into version string - include the snapshot date into version string
- clean up spec file - clean up spec file
* Tue May 22 2007 - tiwai@suse.de * Tue May 22 2007 tiwai@suse.de
- updated to snapshot 20070519: - updated to snapshot 20070519:
* Updated temporary handlings * Updated temporary handlings
* Autoconf tweaks * Autoconf tweaks
* Performance improvements with const and temporary handlings * Performance improvements with const and temporary handlings
* Removed do_write and do_read probles, added aio_write, * Removed do_write and do_read probles, added aio_write,
aio_read, writev and readv probes. aio_read, writev and readv probes.
* Mon May 21 2007 - tiwai@suse.de * Mon May 21 2007 tiwai@suse.de
- use the external elfutils packages. - use the external elfutils packages.
* Tue Apr 24 2007 - tiwai@suse.de * Tue Apr 24 2007 tiwai@suse.de
- updated to snapshot 20070421 and elfutils-0.127: - updated to snapshot 20070421 and elfutils-0.127:
* minor compile warning fixes * minor compile warning fixes
* add interruptible parameter * add interruptible parameter
* improvement on documents * improvement on documents
* fix for debugfs and relayfs mounts * fix for debugfs and relayfs mounts
* see ChangeLog for other changes * see ChangeLog for other changes
* Mon Mar 19 2007 - tiwai@suse.de * Mon Mar 19 2007 tiwai@suse.de
- updated to snapshot 20070317: - updated to snapshot 20070317:
including all fix patches including all fix patches
* Thu Mar 08 2007 - tiwai@suse.de * Thu Mar 08 2007 tiwai@suse.de
- fix the handling of function arguments in more generic way - fix the handling of function arguments in more generic way
(#245310, #252311) (#245310, #252311)
added a new option -P to switch the prologue-search behavior added a new option -P to switch the prologue-search behavior
* Wed Mar 07 2007 - tiwai@suse.de * Wed Mar 07 2007 tiwai@suse.de
- fix misalignment of exception table entry on s390x (#249576) - fix misalignment of exception table entry on s390x (#249576)
* Mon Feb 26 2007 - tiwai@suse.de * Mon Feb 26 2007 tiwai@suse.de
- fix crash with large H value in hist_linear() (#248430) - fix crash with large H value in hist_linear() (#248430)
* Fri Feb 23 2007 - tiwai@suse.de * Fri Feb 23 2007 tiwai@suse.de
- fix mmap syscall on s390x (#248110) - fix mmap syscall on s390x (#248110)
* Thu Feb 15 2007 - tiwai@suse.de * Thu Feb 15 2007 tiwai@suse.de
- fix a wrong name of store_deref definition (#245544) - fix a wrong name of store_deref definition (#245544)
* Wed Feb 14 2007 - tiwai@suse.de * Wed Feb 14 2007 tiwai@suse.de
- fix the handling of function arguments on s390x (#245310) - fix the handling of function arguments on s390x (#245310)
* Tue Feb 06 2007 - tiwai@suse.de * Tue Feb 06 2007 tiwai@suse.de
- update to snapshot 20070203, bugfixes including: - update to snapshot 20070203, bugfixes including:
* add missing sockets tapset support (#239346) * add missing sockets tapset support (#239346)
* fix the array membership (#242481) * fix the array membership (#242481)
* Wed Jan 31 2007 - tiwai@suse.de * Wed Jan 31 2007 tiwai@suse.de
- turn on Autoprov again to fix broken dependency. - turn on Autoprov again to fix broken dependency.
* Tue Jan 30 2007 - tiwai@suse.de * Tue Jan 30 2007 tiwai@suse.de
- update to snapshot 20070120 and elfutils-0.125 to fix major - update to snapshot 20070120 and elfutils-0.125 to fix major
bugs (#238710): bugs (#238710):
* fixed libdw known bugs in elfutils 0.124 * fixed libdw known bugs in elfutils 0.124
@ -151,7 +153,7 @@ rm -rf ${RPM_BUILD_ROOT}
* added support to allow user to use array size declarations * added support to allow user to use array size declarations
* reduce number of calls to stp_module_relocate within $tvar * reduce number of calls to stp_module_relocate within $tvar
functions functions
* Tue Jan 09 2007 - tiwai@suse.de * Tue Jan 09 2007 tiwai@suse.de
- updated to the recent snapshot version (FATE 301670). - updated to the recent snapshot version (FATE 301670).
* fix cache bugs * fix cache bugs
* auto-tools fixes * auto-tools fixes
@ -160,15 +162,15 @@ rm -rf ${RPM_BUILD_ROOT}
* bugfixes/optmizations * bugfixes/optmizations
- elfutls 1.2.4 - elfutls 1.2.4
removed codes with problematic license in elfutils (#232894) removed codes with problematic license in elfutils (#232894)
* Thu Aug 24 2006 - tiwai@suse.de * Thu Aug 24 2006 tiwai@suse.de
- update elfutils to 1.2.3, including vmlinux.debuginfo fix. - update elfutils to 1.2.3, including vmlinux.debuginfo fix.
* Thu Aug 24 2006 - tiwai@suse.de * Thu Aug 24 2006 tiwai@suse.de
- fix the auto-lookup of vmlinux debuginfo for SUSE systems - fix the auto-lookup of vmlinux debuginfo for SUSE systems
- fix the stp compilation with 2.6.18 kernel - fix the stp compilation with 2.6.18 kernel
* Wed Aug 09 2006 - tiwai@suse.de * Wed Aug 09 2006 tiwai@suse.de
- updated to latest snapshot (version 0.5.8) - updated to latest snapshot (version 0.5.8)
with elfutils-1.2.2. with elfutils-1.2.2.
* Tue Apr 18 2006 - mason@suse.de * Tue Apr 18 2006 mason@suse.de
- Update to latest snapshot - Update to latest snapshot
* Sun Apr 09 2006 - mason@suse.de * Sun Apr 09 2006 mason@suse.de
- created package - created package