forked from pool/systemtap
This commit is contained in:
parent
e6492ee021
commit
10c188eeb6
15
systemtap-s390x-probe-at-function-entry.diff
Normal file
15
systemtap-s390x-probe-at-function-entry.diff
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- tapsets.cxx.orig 2007-01-31 13:22:50.000000000 -0800
|
||||||
|
+++ tapsets.cxx 2007-01-31 14:12:48.000000000 -0800
|
||||||
|
@@ -2413,9 +2413,9 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
-#ifdef __ia64__
|
||||||
|
- // In IA64 platform function probe point is set at its
|
||||||
|
- // entry point rather than prologue end pointer
|
||||||
|
+#if defined (__ia64__) || defined (__s390x__)
|
||||||
|
+ // On IA64 and s390x platforms function probe point is set at its
|
||||||
|
+ // entry point rather than prologue end pointer.
|
||||||
|
query_statement (fi.name, fi.decl_file, fi.decl_line,
|
||||||
|
&fi.die, entrypc, q);
|
||||||
|
|
13
systemtap-s390x-store_deref-fix.diff
Normal file
13
systemtap-s390x-store_deref-fix.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h
|
||||||
|
index 7ed9d41..976bf64 100644
|
||||||
|
--- a/runtime/loc2c-runtime.h
|
||||||
|
+++ b/runtime/loc2c-runtime.h
|
||||||
|
@@ -416,7 +416,7 @@
|
||||||
|
_v; \
|
||||||
|
})
|
||||||
|
|
||||||
|
-#define deref_store(size, addr, value) \
|
||||||
|
+#define store_deref(size, addr, value) \
|
||||||
|
({ \
|
||||||
|
int _bad = 0; \
|
||||||
|
switch (size) { \
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 15 13:20:32 CET 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
- fix a wrong name of store_deref definition (#245544)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 14 16:39:39 CET 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
- fix the handling of function arguments on s390x (#245310)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 6 14:51:54 CET 2007 - tiwai@suse.de
|
Tue Feb 6 14:51:54 CET 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ BuildRequires: gcc-c++
|
|||||||
%define elfutils_version 0.125
|
%define elfutils_version 0.125
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
Version: 0.5.8
|
Version: 0.5.8
|
||||||
Release: 28
|
Release: 31
|
||||||
Summary: Instrumentation System
|
Summary: Instrumentation System
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
URL: http://sourceware.org/systemtap/
|
URL: http://sourceware.org/systemtap/
|
||||||
@ -27,6 +27,8 @@ Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2
|
|||||||
Patch: systap-elf-install.patch
|
Patch: systap-elf-install.patch
|
||||||
Patch1: elfutils-portability.patch
|
Patch1: elfutils-portability.patch
|
||||||
Patch2: elfutils-0.125-build-fix.diff
|
Patch2: elfutils-0.125-build-fix.diff
|
||||||
|
Patch3: systemtap-s390x-probe-at-function-entry.diff
|
||||||
|
Patch4: systemtap-s390x-store_deref-fix.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,6 +49,8 @@ Authors:
|
|||||||
# %setup -n %{name}-%{package_version} -q -a1
|
# %setup -n %{name}-%{package_version} -q -a1
|
||||||
%setup -n src -q -a1
|
%setup -n src -q -a1
|
||||||
%patch
|
%patch
|
||||||
|
%patch3
|
||||||
|
%patch4 -p1
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
cd elfutils-%{elfutils_version}
|
cd elfutils-%{elfutils_version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -75,6 +79,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%dir %attr(0755,root,root) /var/cache/systemtap
|
%dir %attr(0755,root,root) /var/cache/systemtap
|
||||||
|
|
||||||
%changelog -n systemtap
|
%changelog -n systemtap
|
||||||
|
* Thu Feb 15 2007 - tiwai@suse.de
|
||||||
|
- fix a wrong name of store_deref definition (#245544)
|
||||||
|
* Wed Feb 14 2007 - tiwai@suse.de
|
||||||
|
- 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user