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
9 changed files with 311 additions and 925 deletions

51
.gitignore vendored
View File

@ -1,41 +1,10 @@
/systemtap-3.1.tar.gz
/systemtap-3.2-0.20170321git272146660f54.tar.gz
/systemtap-3.2-0.20170406git83d186dc7f5c.tar.gz
/systemtap-3.2-0.20170410gitcbf2583808d6.tar.gz
/systemtap-3.2-0.20170512gitc67d8f274b21.tar.gz
/systemtap-3.2.tar.gz
/systemtap-3.3-0.20180222git5ef0c24456e3.tar.gz
/systemtap-3.3-0.20180315gitc2585f2b58cd.tar.gz
/systemtap-3.3-0.20180420gitd4a446c.tar.gz
/systemtap-3.3-0.20180508git9c6ac6cda49e.tar.gz
/systemtap-3.3.tar.gz
/systemtap-4.0-0.20180810git.tar.gz
/systemtap-4.0-0.20180906git37598c4fee7c.tar.gz
/systemtap-4.0-0.20180914gitc51d4e55d285.tar.gz
/systemtap-4.0-0.20180914gitc1befcceae01.tar.gz
/systemtap-4.0-0.20180914git11a0a7aea387.tar.gz
/systemtap-4.0-0.20180914gitfe4e14f4af16.tar.gz
/systemtap-4.0-0.20180914gitfe4e14f4af16.1.tar.gz
/systemtap-4.0-0.20181003git4ad1e11de831.tar.gz
/systemtap-4.0.tar.gz
/systemtap-4.1-0.20181126gitf082df49dd91.tar.gz
/systemtap-4.1-0.20181126git47ce37a149b6.tar.gz
/systemtap-4.1-0.20181203gitec3b46eb9b19.tar.gz
/systemtap-4.1-0.20181204git891810c246d6.tar.gz
/systemtap-4.1-0.20190123gitc8084763b75f.tar.gz
/systemtap-4.1-0.20190125git905865da1024.tar.gz
/systemtap-4.1-0.20190207git4e76869512d2.tar.gz
/systemtap-4.1-0.20190307gitf7fb9c9182dc.tar.gz
/systemtap-4.1-0.20190308gitb3627d9aa037.tar.gz
/systemtap-4.1-0.20190327git2ede4cecb20c.tar.gz
/systemtap-4.1-0.20190502git446e7c358247.tar.gz
/systemtap-4.1.tar.gz
/systemtap-4.2-0.20190513git8b868f3dd030.tar.gz
/systemtap-4.2-0.20190613git2d77f531a5d1.tar.gz
/systemtap-4.2-0.20190618git47c3f6c60174.tar.gz
/systemtap-4.2-0.20190807gitebfc300ec2ad.tar.gz
/systemtap-4.2-0.20190827git8ffab23ff.tar.gz
/systemtap-4.2.tar.gz
/systemtap-4.3-0.20200112gitb1e6a6645bba.tar.gz
/systemtap-4.3-0.20200203git6c0b74f5910a.tar.gz
/systemtap-4.3-0.20200211git91ffb97ad335.tar.gz
systemtap-1.3.tar.gz
/systemtap-1.4.tar.gz
/systemtap-1.5.tar.gz
/systemtap-1.6.tar.gz
/systemtap-1.7.tar.gz
/systemtap-1.8.tar.gz
/systemtap-2.0pre-git10c737f.tar.gz
/systemtap-2.0pre-gitec12f84.tar.gz
/systemtap-2.0.tar.gz
/systemtap-2.1.tar.gz

View File

@ -1 +1 @@
SHA512 (systemtap-4.3-0.20200211git91ffb97ad335.tar.gz) = 449959f46a89633f57c20cbeb0ded7031587e6df7cf19c30a237bb1886a7235e066c2878023385a7ec83e6045ab31bc8819991574a5840c8080d2ea066974eb5
86a01af0139c868aa1736ebf8c640caa systemtap-2.1.tar.gz

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

File diff suppressed because it is too large Load Diff

View File

@ -1,38 +0,0 @@
TOPLEVEL_NAMESPACE=fedora
PACKAGE_NAME=systemtap
RELATIVE_PATH=Sanity/dejagnu-smoketest
export TESTVERSION=1.0
export TEST=/$(TOPLEVEL_NAMESPACE)/$(PACKAGE_NAME)/$(RELATIVE_PATH)
.PHONY: all install download clean
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x ./runtest.sh
clean:
rm -f *~ *.rpm $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
# Generate the testinfo.desc here:
$(METADATA): Makefile
@touch $(METADATA)
# Change to the test owner's name
@echo "Owner: Frank Ch. Eigler <fche@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "Description: smoke test" >> $(METADATA)
@echo "TestTime: 10m" >> $(METADATA)
@echo "RunFor: $(PACKAGE_NAME)" >> $(METADATA)
@echo "Requires: $(PACKAGE_NAME)" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
# You may need other fields here; see the documentation
rhts-lint $(METADATA)

View File

@ -1,3 +0,0 @@
Test Name: dejagnu-smoketest
Author:
Short Description: Run a minimal systemtap testsuite

View File

@ -1,17 +0,0 @@
#!/bin/sh
set -e
set -x
dnf debuginfo-install -y kernel
# on Fedora CI, can only assume about 1GB RAM to run these tests
stap -L 'process("stap").mark("*")' | grep pass
# stap -L 'kernel.trace("sys_enter")'
stap -v --example helloworld.stp
stap -v -T 10 -p4 -e 'probe kernel.function("do_exit") {println($$vars)}'
# stap -v -T 10 -e 'probe syscall.* ? {println(argstr)}'
echo
echo RESULT: PASS

View File

@ -1,11 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- dejagnu-smoketest
required_packages:
- systemtap-testsuite
- kernel-devel