Compare commits

...

8 Commits
master ... f17

Author SHA1 Message Date
Serguei Makarov 6f0fe9b8ca Merge branch 'f18' into f17 2013-03-07 09:58:27 -05:00
Serguei Makarov f445f60401 -mfentry, PPC_PTRACE fixes 2013-03-05 15:03:58 -05:00
Frank Ch. Eigler 112f730328 Merge branch 'f18' into f17
* f18:
  systemtap 2.1 release rebase
2013-02-13 13:16:45 -05:00
Josh Stone b4f424991d Merge branch 'f18' into f17 2013-01-16 12:57:10 -08:00
Josh Stone 64b1848655 Merge branch 'f18' into f17 2013-01-16 11:08:23 -08:00
Josh Stone 0ab61fd89c Merge branch 'f18' into f17
Conflicts:
	systemtap.spec
2012-10-09 18:12:37 -07:00
Lukas Berk 1e649c35bd Correct the location of stap-env 2012-08-31 11:59:06 -04:00
Dennis Gilmore 758d9e3f22 fix up the %if statement for x86_64
- and use file based requires to pull in 32 bit glibc-devel
- ensures that the package is installable in koji
2012-07-13 08:38:30 -05:00
3 changed files with 81 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From e9e4b4476ac04606e08fb255ff2b580a68c7314a Mon Sep 17 00:00:00 2001
From: "Frank Ch. Eigler" <fche@redhat.com>
Date: Wed, 13 Feb 2013 17:56:52 -0500
Subject: [PATCH 1/2] PR15148, speculatively drop the PR15123-conflicting
assert
---
loc2c.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/loc2c.c b/loc2c.c
index 3474e93..74df8b7 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -1433,7 +1433,9 @@ c_translate_location (struct obstack *pool,
pc_address = ctx->pc;
else if (ctx->pc == 0)
ctx->pc = pc_address;
- assert (ctx->pc == pc_address);
+ // PR15148: disable this assertion, in case the PR15123 address-retry logic
+ // sent us this way
+ // assert (ctx->pc == pc_address);
}
switch (*input == NULL ? loc_address : (*input)->type)
--
1.7.7.6

View File

@ -0,0 +1,41 @@
From bc8d0b788c81253e64333bab326da31cb19b9e64 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw@redhat.com>
Date: Thu, 21 Feb 2013 14:05:22 +0100
Subject: [PATCH 2/2] powerpc/aux_syscalls.stp: Define old/deprecated
PPC_PTRACE_GET/SET[FP]REGS.
kernel commit v3.4-rc5-40-gec34a68 removed them.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
---
tapset/linux/powerpc/aux_syscalls.stp | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/tapset/linux/powerpc/aux_syscalls.stp b/tapset/linux/powerpc/aux_syscalls.stp
index 86ac55f..110f9e6 100644
--- a/tapset/linux/powerpc/aux_syscalls.stp
+++ b/tapset/linux/powerpc/aux_syscalls.stp
@@ -49,6 +49,20 @@
#ifndef PTRACE_SINGLEBLOCK
# define PTRACE_SINGLEBLOCK 0x100
#endif
+
+/* (old) PTRACE requests with inverted arguments */
+#ifndef PPC_PTRACE_GETREGS
+#define PPC_PTRACE_GETREGS 0x99
+#endif
+#ifndef PPC_PTRACE_SETREGS
+#define PPC_PTRACE_SETREGS 0x98
+#endif
+#ifndef PPC_PTRACE_GETFPREGS
+#define PPC_PTRACE_GETFPREGS 0x97
+#endif
+#ifndef PPC_PTRACE_SETFPREGS
+#define PPC_PTRACE_SETFPREGS 0x96
+#endif
%}
function _arch_ptrace_argstr(request, pid, addr, data)
{
--
1.7.7.6

View File

@ -31,7 +31,7 @@
Name: systemtap
Version: 2.1
Release: 1%{?dist}
Release: 2%{?dist}
# for version, see also configure.ac
@ -107,6 +107,11 @@ BuildRequires: publican
BuildRequires: /usr/share/publican/Common_Content/%{publican_brand}/defaults.cfg
%endif
%endif
# fixes for RHBZ917519 (PR15148), RHBZ905337
Patch2: systemtap-2.1-mfentry-lookup-retry.patch
Patch3: systemtap-2.1-old-ppc-ptrace.patch
%if %{with_emacsvim}
BuildRequires: emacs
%endif
@ -275,6 +280,9 @@ find . \( -name configure -o -name config.h.in \) -print | xargs touch
cd ..
%endif
%patch2 -p1
%patch3 -p1
%build
%if %{with_bundled_elfutils}
@ -694,6 +702,9 @@ exit 0
# ------------------------------------------------------------------------
%changelog
* Tue Mar 05 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-2
- Backported fixes for -mfentry (pr15148), bz905337
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
- Upstream release.