Sync from SUSE:SLFO:Main systemtap revision edbb538dee77e211aec2d68020b66420

This commit is contained in:
Adrian Schröter 2024-05-04 01:02:23 +02:00
commit 850c6f07b6
18 changed files with 2267 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,13 @@
All patches need to have a patch description header similar to what is used in
SuSE kernel git tree. Patches added without this will be reverted. Thanks.
From: Name <email>
Subject: Summary of fix
Date: date
References: bnc#xxxxxx (bugzilla reference if applicable)
Upstream: yes (provide repo/commit-id in description) or no (provide reason)
Signed-Off-by: Name <email> (same as From: if committer is patch author)
Short paragraph describing problem/fix.
References to upstream repo-path/commit-id if applicable.

13
README-KEYRING Normal file
View File

@ -0,0 +1,13 @@
How to update the systemtap keyring
===================================
1. update systemtap version in specfile to new version
2. run 'osc service localrun download_files' to download the new tarball and signatrure files (the signature file may be .sig or .asc, it varies depending on who
made the release)
3. run 'gpg systemtap-${ver}.tar.gz.{sig,asc}' -- look for "gpg: Signature made {date} using RSA key ID {key}" in output
4. run 'gpg --keyserver pgp.mit.edu --recv-key $key' to obtain the key from the public keyserver
5. run 'gpg --export --armor --output systemtap.keyring $key'. Select 'y' to
overwrite existing file (previous is backed up in .osc)
How to verify against the keyring
=================================
1. run 'gpg --keyring systemtap.keyring systemtap-${ver}.tar.gz.sig'

6
_multibuild Normal file
View File

@ -0,0 +1,6 @@
<multibuild>
<package>systemtap-docs</package>
<package>systemtap-headers</package>
<package>systemtap-dtrace</package>
</multibuild>

2
stap-server.conf Normal file
View File

@ -0,0 +1,2 @@
# Systemtap-server needs some files in /var/run
d /run/stap-server 0755 root root -

BIN
systemtap-4.9.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

11
systemtap-4.9.tar.gz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEXTgRb6TTp8x343jTfoNhASbcwugFAmRMNsMACgkQfoNhASbc
wuhsIwf/awt2wfQ8/TgI64+K1mr8gci3avr4/TuConQ7FC8tMZdecgXr2hwCnI2E
1WF1QBTal3h4Xd2oVb8byycDR82rg4Auo8yQj1/X6AC7mue/N+1P6jXfFwZMvNXx
Fq5qj/smhY7Nnm2Zb3xZu4lvkrNP6LJO27YbqEgmJ3ELt+RiYyunWAzDjwAlptV0
CyWzoiAZk+mDB9He4TyM2eFfxNHSmUaJsgQcxo/sTnpPLf5Nf3yt10g1iP2AwaPV
NF+EH8aGG1+vXN2KvNglCTjZiBpjQDf4I1T36rooaVNKexNRK0h5yY8C6syEcmBQ
ljzOaXVy1O3D3o0OPA5Z4l0Jt2lxYg==
=0ZKr
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,88 @@
From: Tony Jones <tonyj@suse.de>
Subject: adjust build source dir for SuSE packaging
References: bnc#796574
kernel-$flavor:
/lib/modules/$version-$flavor
kernel-$flavor-devel: requires kernel-source
/usr/src/linux-$version-obj/$arch/$flavor
/lib/modules/$version-$flavor/build -> /usr/src/linux-$version-obj/$arch/$flavor
/lib/modules/$version-$flavor/source -> /usr/src/linux-$version [kernel-source]
kernel-flavor-debugsource:
/usr/src/debug/kernel-$flavor/
linux-obj/ {corresponds to /lib/modules/$version-$flavor/build}
linux-3.0/ {mirrors kernel-source}
DW_AT_comp_dir points to debugsource/linux-obj directory but internal trace
headers are only found in linux-3.0. Regardless, we don't want to require
debugsource as devel already requires kernel-source which provides the
necessary headers.
---
session.cxx | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)
--- a/session.cxx
+++ b/session.cxx
@@ -108,6 +108,7 @@ systemtap_session::systemtap_session ():
kernel_release = string (buf.release);
release = kernel_release;
kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+ kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
architecture = machine = normalize_machine(buf.machine);
for (unsigned i=0; i<5; i++) perpass_verbose[i]=0;
@@ -298,6 +299,7 @@ systemtap_session::systemtap_session (co
{
release = kernel_release = kern;
kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+ kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
kernel_extra_cflags = other.kernel_extra_cflags;
architecture = machine = normalize_machine(arch);
setup_kernel_release(kern.c_str());
@@ -2218,21 +2220,39 @@ systemtap_session::setup_kernel_release
// normal search in tapsets.cxx. Without CONFIG_DEBUG_INFO, we'd
// need heuristics such as this one:
- string some_random_source_only_file = kernel_build_tree + "/COPYING";
+ // SUSE: if "build" link specified, attempt to determine "source" link
+ // N.B we won't match using above tapsets.cxx check
+ struct stat buf;
+ string source_tree = kernel_build_tree;
+
+ if (lstat(kernel_build_tree.c_str(), &buf) != -1 && S_ISLNK(buf.st_mode)) {
+ size_t pos = source_tree.find_last_of('/');
+ if (pos < source_tree.length() && source_tree.substr(pos+1, string::npos) == "build")
+ source_tree.replace(pos+1, string::npos, "source");
+ }
+
+retry:
+ string some_random_source_only_file = source_tree + "/COPYING";
ifstream epic (some_random_source_only_file.c_str());
if (! epic.fail())
{
- kernel_source_tree = kernel_build_tree;
+ kernel_source_tree = source_tree;
if (verbose > 2)
clog << _F("Located kernel source tree (COPYING) at '%s'", kernel_source_tree.c_str()) << endl;
- }
+ } else if (source_tree != kernel_build_tree) {
+ // one last try using kernel_build_tree (local fs build)
+ source_tree = kernel_build_tree;
+ goto retry;
+ }
}
else
{
update_release_sysroot = true;
kernel_release = kstr;
- if (!kernel_release.empty())
+ if (!kernel_release.empty()) {
kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+ kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
+ }
// PR10745
// Let's not look for the kernel_source_tree; it's definitely

61
systemtap-docdir-fix.diff Normal file
View File

@ -0,0 +1,61 @@
From: Tony Jones <tonyj@suse.de>
Subject: change doc install path
References: none
Upstream: never
SuSE %{_docdir} is /usr/share/doc/packages. Change install locations to match.
---
Makefile.am | 2 +-
doc/Makefile.am | 2 +-
doc/SystemTap_Tapset_Reference/Makefile.am | 4 ++--
doc/beginners/Makefile.am | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
--- a/Makefile.am
+++ b/Makefile.am
@@ -266,7 +266,7 @@ endif
| while read f; do if test -x $$f; then \
i_cmd="$(INSTALL_PROGRAM)"; else \
i_cmd="$(INSTALL_DATA)"; fi; \
- $$i_cmd -D $$f $(DESTDIR)$(pkgdatadir)/examples/$$f; done)
+ $$i_cmd -D $$f $(DESTDIR)$(datadir)/doc/packages/systemtap/examples/$$f; done)
test -e $(DESTDIR)$(sysconfdir)/systemtap || mkdir -p $(DESTDIR)$(sysconfdir)/systemtap
if BUILD_SERVER
test -e $(DESTDIR)$(localstatedir)/run/stap-server || mkdir -p $(DESTDIR)$(localstatedir)/run/stap-server
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = subdir-objects
PDF_FILES = tutorial.pdf langref.pdf
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
SUBDIRS = SystemTap_Tapset_Reference beginners
if BUILD_DOCS
--- a/doc/SystemTap_Tapset_Reference/Makefile.am
+++ b/doc/SystemTap_Tapset_Reference/Makefile.am
@@ -1,9 +1,9 @@
## process this file with automake to produce Makefile.in
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
MAN_INSTALL_DIR = $(DESTDIR)$(mandir)/man3
-HTML_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/tapsets
+HTML_INSTALL_DIR = $(DOC_INSTALL_DIR)/tapsets
if XMLTO_STRINGPARAM
XMLTOHTMLPARAMS=--stringparam use.id.as.filename=1 -m $(abs_srcdir)/generate-toc.xml
--- a/doc/beginners/Makefile.am
+++ b/doc/beginners/Makefile.am
@@ -2,7 +2,7 @@
## process this file with automake to produce Makefile.in
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
SBG = SystemTap_Beginners_Guide
BEGIN_INSTALL_DIR = $(DOC_INSTALL_DIR)/$(SBG)

561
systemtap-docs.changes Normal file
View File

@ -0,0 +1,561 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
-------------------------------------------------------------------
Thu Jan 27 23:26:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.6. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Dec 6 17:33:04 UTC 2019 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.2. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Aug 9 20:06:57 UTC 2019 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.1. See systemtap.spec for changelog
- Remove systemtap-exporter files (built due to BuildRequires: python3-devel)
-------------------------------------------------------------------
Fri Aug 3 16:50:41 UTC 2018 - sschricker@suse.de
- Upgrade to version 3.3:
Changelog: https://lwn.net/Articles/757030/
eBPF backend extensions, easier access to examples, adapting to
meltdown/spectre complications, real-time / high-cpu-count
concurrency fixes
- Added public key of "Frank Ch. Eigler <fche@elastic.org>",
since he signed the new package
-------------------------------------------------------------------
Fri Feb 2 23:31:59 UTC 2018 - tonyj@suse.com
- Fix python3 build failures
-------------------------------------------------------------------
Mon Nov 20 23:06:17 UTC 2017 - tonyj@suse.com
- Upgrade to version 3.2. See systemtap.spec for changelog
Drop patch: systemtap-doc-back-down-gettext-version.diff
-------------------------------------------------------------------
Tue Mar 28 20:04:44 UTC 2017 - jeffm@suse.com
- Update to version 3.1. See systemtap.spec for changelog
Added patch: systemtap-doc-back-down-gettext-version.diff
-------------------------------------------------------------------
Fri Apr 1 17:29:31 UTC 2016 - tonyj@suse.com
- Update to version 3.0. See systemtap.spec for changelog
Drop patch: systemtap-xmlto-fop.diff
-------------------------------------------------------------------
Tue Nov 10 00:40:17 UTC 2015 - tonyj@suse.com
- Update to version 2.9. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Sep 11 18:00:49 UTC 2015 - tonyj@suse.com
- Update to version 2.8. See systemtap.spec for changelog
Update patch 'systemtap-docdir-fix.diff' (package beginners guide)
-------------------------------------------------------------------
Fri Mar 27 14:11:25 UTC 2015 - p.drouand@gmail.com
- Update to version 2.7. See systemtap.spec for changelog
- Update systemtap-docdir-fix.diff
-------------------------------------------------------------------
Tue Feb 17 20:51:58 UTC 2015 - mpluskal@suse.com
- Add gpg signature and keyring
- Cleanup spec file with spec-cleaner
-------------------------------------------------------------------
Tue Sep 9 06:06:42 UTC 2014 - tonyj@suse.com
- Update to version 2.6. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri May 2 19:50:28 UTC 2014 - tonyj@suse.com
- Update to version 2.5. See systemtap.spec for changelog
- Drop patch: langref.tex-add-option-to-babel-setup.patch (upstream)
- Patch systemtap-docs-autoconf-version.diff was still present
despite being "dropped" in 2.4, really delete it
-------------------------------------------------------------------
Thu Dec 19 22:05:14 UTC 2013 - tonyj@suse.com
- Fix build errors due to changes in LaTeX packaging
- Add patch 'langref.tex-add-option-to-babel-setup.patch'
-------------------------------------------------------------------
Fri Nov 15 18:51:03 UTC 2013 - tonyj@suse.com
- Update to version 2.4. See systemtap.spec for changelog
- Drop patch systemtap-docs-autoconf-version.diff
-------------------------------------------------------------------
Wed Aug 7 17:44:37 UTC 2013 - tonyj@suse.com
- Update to version 2.3. See systemtap.spec for changelog
-------------------------------------------------------------------
Wed May 22 17:47:56 UTC 2013 - tonyj@suse.com
- Update to version 2.2.1. See systemtap.spec for changelog
-------------------------------------------------------------------
Sat Jan 12 05:10:48 UTC 2013 - tonyj@suse.com
- Update to version 2.0. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Jul 27 10:29:23 UTC 2012 - aj@suse.de
- Fix build with glibc 2.16
-------------------------------------------------------------------
Mon Jun 18 09:47:49 CEST 2012 - jslaby@suse.de
- Upgrade to version 1.8
-------------------------------------------------------------------
Thu Jun 14 20:11:49 UTC 2012 - dimstar@opensuse.org
- Add systemtap-automake112.patch: Fix build with automake 1.12:
+ Support for automatic de-ANSI-fication has been removed.
+ Patch taken from upstream, git commit id 5b2bc70.
-------------------------------------------------------------------
Sat Feb 18 01:36:46 UTC 2012 - tonyj@suse.com
- Update to version 1.7. See systemtap.spec for changelog
-------------------------------------------------------------------
Sun Jan 29 06:34:11 UTC 2012 - coolo@suse.com
- add automake too
-------------------------------------------------------------------
Wed Dec 21 10:44:28 UTC 2011 - coolo@suse.com
- add autoconf as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Nov 2 10:54:46 CET 2011 - jslaby@suse.de
- update to 1.6
-------------------------------------------------------------------
Tue Jun 7 08:11:15 UTC 2011 - coolo@novell.com
- fix file dependencies of examples and testsuite
-------------------------------------------------------------------
Tue May 17 11:28:27 CEST 2011 - jslaby@suse.de
- fix gcc 4.6 build
-------------------------------------------------------------------
Fri Jan 21 18:45:18 UTC 2011 - tonyj@novell.com
- Update to version 1.4. See systemtap.changes for full changelog.
-------------------------------------------------------------------
Thu Aug 26 02:15:11 UTC 2010 - tonyj@novell.com
- Update to version 1.3
-------------------------------------------------------------------
Thu Mar 11 22:49:52 UTC 2010 - tonyj@novell.com
- Update to version 1.1. See systemtap.changes for full changelog.
-------------------------------------------------------------------
Wed Dec 2 23:52:10 UTC 2009 - tonyj@novell.com
- Minor changes to spec file
-------------------------------------------------------------------
Fri Oct 2 18:57:14 CEST 2009 - tonyj@suse.de
- updated to version 1.0. See systemtap.changes for full changelog.
-------------------------------------------------------------------
Tue Jul 21 08:47:33 CEST 2009 - tiwai@suse.de
- corrected to use libexecdir
- fix summary and description
-------------------------------------------------------------------
Thu Jun 18 12:46:08 CEST 2009 - tiwai@suse.de
- change to noarch
-------------------------------------------------------------------
Tue Jun 16 16:26:52 CEST 2009 - tiwai@suse.de
- updated to version 0.9.8:
* Module signing support
* Debuginfo suggestions when a script fails
* Using %M in print formats for hex dumps can now print entire
buffers
* Dwarfless syscalls: The nd_syscalls tapset is now available to
probe system calls without requiring kernel debug info.
* sid() returns the session ID of the current process
* stringat() indexes a single character from a string.
* New script examples
-------------------------------------------------------------------
Fri May 22 09:38:19 CEST 2009 - tiwai@suse.de
- add missing examples installation in docs subpackage
-------------------------------------------------------------------
Wed May 20 13:02:00 CEST 2009 - tiwai@suse.de
- split docs and examples to docs subpackage and generate from its
own spec file to cut off the dependency loop
-------------------------------------------------------------------
Fri May 15 11:46:11 CEST 2009 - tiwai@suse.de
- split to several subpackages, systemtap-runtime, -client, -server
and -sdt-devel (bnc#503088).
-------------------------------------------------------------------
Fri May 8 16:43:08 CEST 2009 - tiwai@suse.de
- updated to released version 0.9.7:
* Lots of fixes, improvements, see NEWS file for details
-------------------------------------------------------------------
Thu Feb 19 16:55:48 CET 2009 - tiwai@suse.de
- updated to systemtap snashot 20090214:
* Version bump to 0.8
* Bunch of fixes and updates, see ChangeLog
* Fix for recent 2.6.29 kernels
- fixed doc build, using fop instead of direct xmlto pdf
-------------------------------------------------------------------
Thu Feb 12 16:32:29 CET 2009 - tiwai@suse.de
- backport the blacklist additions from upstream to fix possible
system crash (bnc#459387, bnc#473277)
-------------------------------------------------------------------
Thu Feb 5 13:31:19 CET 2009 - tiwai@suse.de
- Backport tapset/signal.stp to fix the signal probe problem
(bnc#468321)
-------------------------------------------------------------------
Tue Feb 3 14:39:38 CET 2009 - tiwai@suse.de
- Fix debugpath.exp with $SYSTEMTAP_DEBUGINFO_PATH (bnc#471811)
-------------------------------------------------------------------
Thu Jan 29 12:58:42 CET 2009 - tiwai@suse.de
- Fix procfs dir_entry count warning (bnc#470526)
- Improve the parsing of lineno checks (bnc#468247)
-------------------------------------------------------------------
Thu Jan 15 08:22:24 CET 2009 - tiwai@suse.de
- Fix quoting in Tcl scripts (bnc#461588)
-------------------------------------------------------------------
Mon Jan 12 12:55:06 CET 2009 - tiwai@suse.de
- Fix syntax errors with Tcl send_log (bnc#460886)
-------------------------------------------------------------------
Thu Dec 18 16:59:23 CET 2008 - tiwai@suse.de
- Fix stap failures with signal tapsets (bnc#459387)
-------------------------------------------------------------------
Tue Dec 16 13:50:32 CET 2008 - tiwai@suse.de
- Fix dependency on libebl1 (bnc#448331, #445783)
- Fix stap for 2.6.28 kernels
-------------------------------------------------------------------
Fri Dec 12 16:32:35 CET 2008 - tiwai@suse.de
- Don't assert of dwarf_getsrcfiles(). This hits recent SUSE
kernels (bnc#455992)
- Backport fix patches for stap-*-server scripts to run with
netcat (bnc#446686)
-------------------------------------------------------------------
Mon Dec 8 14:09:01 CET 2008 - tiwai@suse.de
- fixed unresolved path in man pages (bnc#457217)
- fixed build for old distros on OBS
-------------------------------------------------------------------
Thu Dec 4 18:08:23 CET 2008 - tiwai@suse.de
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
-------------------------------------------------------------------
Fri Nov 21 14:09:21 CET 2008 - tiwai@suse.de
- Add the bound check of parameters to fix segfault (bnc#447551)
-------------------------------------------------------------------
Tue Nov 4 13:57:24 CET 2008 - tiwai@suse.de
- Fix systemtap assertion with CONFIG_RELOCATABLE (bnc#440351)
-------------------------------------------------------------------
Thu Sep 11 17:14:47 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080906
* Fix / clean up autotools stuff
* Ugly workaround for 2.6.27 and later kernel
* stap-server updates
* Lots of small fixes
-------------------------------------------------------------------
Tue Aug 12 18:11:10 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080809
* bump to 0.7.1
* tutorials
* examples
* i386-fix merged
* previous patches are all merged in
- add latex2html to buildrequires for generating documents
-------------------------------------------------------------------
Fri Jun 20 15:58:30 CEST 2008 - tiwai@suse.de
- fix run on i386 (bnc#401970)
- don't include obsolete linux/compile.h.
-------------------------------------------------------------------
Wed Jun 18 16:04:01 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080614:
* bump to version 0.7, man page updates, misc fixes
see ChangeLog for details
-------------------------------------------------------------------
Fri Mar 14 14:15:17 CET 2008 - tiwai@suse.de
- updated to snapshot 20080308:
* configure fixes, compile option changes
* fixes for 2.6.25 kernel
-------------------------------------------------------------------
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
- updated to snapshot 20080105
- fixed build of the snapshot with gcc 4.3
-------------------------------------------------------------------
Mon Nov 19 14:53:53 CET 2007 - tiwai@suse.de
- enable gcc-4.3 patch (yes, we use only gcc4.3 now)
- updated to snapshot 20071117
-------------------------------------------------------------------
Thu Oct 25 12:53:04 CEST 2007 - tiwai@suse.de
- disable gcc-4.3 fix again since it breaks older gccs...
-------------------------------------------------------------------
Wed Oct 24 16:33:35 CEST 2007 - tiwai@suse.de
- fix build with gcc 4.3
-------------------------------------------------------------------
Mon Oct 22 15:23:15 CEST 2007 - tiwai@suse.de
- updated to snapshot 20071020:
* bump up version 0.6
* bunch of updates and fixes, see ChangeLog
-------------------------------------------------------------------
Tue Aug 14 16:53:57 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070811:
* Updated -m MODNAME usage
* Rework on line editing functions
-------------------------------------------------------------------
Mon Jul 16 17:39:33 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070714:
* configure fix for sqlite
* support for crash extension module
* new enum for type column in coverage_element
-------------------------------------------------------------------
Wed Jul 4 12:22:34 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070630:
* auto-tools fixes, sqlite3 requirement
- add sqlite-devel and glib2-devel to buildrequires
-------------------------------------------------------------------
Wed Jun 6 16:13:15 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070602:
* fix for gcc4.3
* minor fixes in elaborate.*
- include the snapshot date into version string
- clean up spec file
-------------------------------------------------------------------
Tue May 22 17:09:38 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070519:
* Updated temporary handlings
* Autoconf tweaks
* Performance improvements with const and temporary handlings
* Removed do_write and do_read probles, added aio_write,
aio_read, writev and readv probes.
-------------------------------------------------------------------
Mon May 21 12:24:15 CEST 2007 - tiwai@suse.de
- use the external elfutils packages.
-------------------------------------------------------------------
Tue Apr 24 18:15:56 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070421 and elfutils-0.127:
* minor compile warning fixes
* add interruptible parameter
* improvement on documents
* fix for debugfs and relayfs mounts
* see ChangeLog for other changes
-------------------------------------------------------------------
Mon Mar 19 17:25:52 CET 2007 - tiwai@suse.de
- updated to snapshot 20070317:
including all fix patches
-------------------------------------------------------------------
Thu Mar 8 15:24:56 CET 2007 - tiwai@suse.de
- fix the handling of function arguments in more generic way
(#245310, #252311)
added a new option -P to switch the prologue-search behavior
-------------------------------------------------------------------
Wed Mar 7 15:47:20 CET 2007 - tiwai@suse.de
- fix misalignment of exception table entry on s390x (#249576)
-------------------------------------------------------------------
Mon Feb 26 12:42:41 CET 2007 - tiwai@suse.de
- fix crash with large H value in hist_linear() (#248430)
-------------------------------------------------------------------
Fri Feb 23 16:43:53 CET 2007 - tiwai@suse.de
- fix mmap syscall on s390x (#248110)
-------------------------------------------------------------------
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
- update to snapshot 20070203, bugfixes including:
* add missing sockets tapset support (#239346)
* fix the array membership (#242481)
-------------------------------------------------------------------
Wed Jan 31 13:44:43 CET 2007 - tiwai@suse.de
- turn on Autoprov again to fix broken dependency.
-------------------------------------------------------------------
Tue Jan 30 12:01:03 CET 2007 - tiwai@suse.de
- update to snapshot 20070120 and elfutils-0.125 to fix major
bugs (#238710):
* fixed libdw known bugs in elfutils 0.124
* add the missing support of tapsetr/errno.stp for s390x
* fix conditionals in syscall tapset for s390x
* new macros to safely read/write values from kernel pointers
* fix the non-standard C behavior to handle NULL in an array
* fixed support for benchmarking mode with off-line code
* added support to allow user to use array size declarations
* reduce number of calls to stp_module_relocate within $tvar
functions
-------------------------------------------------------------------
Tue Jan 9 19:30:00 CET 2007 - tiwai@suse.de
- updated to the recent snapshot version (FATE 301670).
* fix cache bugs
* auto-tools fixes
* probe registartion rework
* allow negative numeric literals
* bugfixes/optmizations
- elfutls 1.2.4
removed codes with problematic license in elfutils (#232894)
-------------------------------------------------------------------
Thu Aug 24 19:10:59 CEST 2006 - tiwai@suse.de
- update elfutils to 1.2.3, including vmlinux.debuginfo fix.
-------------------------------------------------------------------
Thu Aug 24 18:20:39 CEST 2006 - tiwai@suse.de
- fix the auto-lookup of vmlinux debuginfo for SUSE systems
- fix the stp compilation with 2.6.18 kernel
-------------------------------------------------------------------
Wed Aug 9 15:27:09 CEST 2006 - tiwai@suse.de
- updated to latest snapshot (version 0.5.8)
with elfutils-1.2.2.
-------------------------------------------------------------------
Tue Apr 18 03:14:22 CEST 2006 - mason@suse.de
- Update to latest snapshot
-------------------------------------------------------------------
Sun Apr 9 20:32:35 CEST 2006 - mason@suse.de
- created package

95
systemtap-docs.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package systemtap-docs
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: systemtap-docs
Version: 4.9
Release: 0
Summary: Documents and examples for systemtap
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: https://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
Patch1: systemtap-docdir-fix.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig(json-c)
# for documents
BuildRequires: fop
BuildRequires: gcc-c++
BuildRequires: latex2html
BuildRequires: libdw-devel
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: texlive-amsfonts
BuildRequires: texlive-babel-english
BuildRequires: texlive-collection-fontsrecommended
BuildRequires: texlive-metafont-bin
BuildRequires: xmlto
BuildRequires: tex(charter.sty)
BuildRequires: tex(fancybox.sty)
BuildRequires: tex(fancyhdr.sty)
BuildRequires: tex(fancyvrb.sty)
BuildRequires: tex(float.sty)
BuildRequires: tex(fullpage.sty)
BuildArch: noarch
%description
SystemTap is an instrumentation system for systems running Linux.
This package contains the documents and examples for systemtap.
%prep
%setup -q -n systemtap-%{version}
%autopatch -p1
%build
# fix interpreter
find testsuite examples -name "*.stp" | xargs -n1 sed -i -e 's, /bin/env, %{_bindir}/env,'
find testsuite examples -type f | xargs chmod 644
autoreconf -fi
%configure --docdir=%{_docdir}/systemtap --disable-nls --with-python3
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags} doc
# COPYING packaged by main spec
cp README AUTHORS NEWS %{buildroot}%{_docdir}/systemtap/
# remove binaries and runtime stuff
rm -rf %{buildroot}%{_bindir}
rm -rf %{buildroot}%{_sbindir}
rm -rf %{buildroot}%{_libdir}
rm -rf %{buildroot}%{_libexecdir}
rm -rf %{buildroot}%{_datadir}/systemtap
rm -rf %{buildroot}%{_includedir}
rm -rf %{buildroot}%{_sysconfdir}
rm -rf %{buildroot}%{_unitdir}
# these man pages are in each sub package
rm -rf %{buildroot}%{_mandir}/man[178]
rm -rf %{buildroot}%{_mandir}/cs/man[178]
%files
%defattr(-,root,root)
%doc %{_docdir}/systemtap
%{_mandir}/man3/*
%{_mandir}/cs/man3/*
%changelog

51
systemtap-dtrace.changes Normal file
View File

@ -0,0 +1,51 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
-------------------------------------------------------------------
Thu Apr 21 23:43:35 UTC 2022 - Tony Jones <tonyj@suse.com>
- Remove unnecessary patches. Only patches specific to dtrace are needed.
-------------------------------------------------------------------
Wed Mar 2 19:19:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Add gcc12 support (bsc#1196583)
New patch: PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
New patch: gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
New patch: gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
New patch: buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
New patch: gcc12-warning-suppression.patch
-------------------------------------------------------------------
Mon Feb 21 10:56:37 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Handle-user-supplied-sdt-probe-argument-template.patch: Fix glibc build
failure on s390x
-------------------------------------------------------------------
Mon Feb 14 15:46:00 UTC 2022 - Tony Jones <tonyj@suse.com>
- Resolve gcc compilation error reported against glib2 and libvirt
New patch: sys-sdt.h-fp-constraints-arm32.patch
New patch: sys-sdt.h-fp-constraints-x86_64.patch
New patch: sys-sdt.h-fp-constraints-aarch64-s390.patch
- Add existing patch systemtap-build-source-dir.patch to spec for consistency
-------------------------------------------------------------------
Thu Jan 27 23:26:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.6. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Dec 6 17:32:23 UTC 2019 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.2. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Sep 27 15:07:24 UTC 2019 - Michael Gorse <mgorse@suse.com>
- Moved the dtrace binary into a separate package to resolve build
cycle with glib2 (bsc#1145438).

59
systemtap-dtrace.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package systemtap-dtrace
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap-dtrace
Version: 4.9
Release: 0
Summary: SystemTap dtrace utility
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
Source0: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
BuildArch: noarch
%description
SystemTap is an instrumentation system for systems running Linux.
This package contains the dtrace utility to build provider and probe
definitions.
%prep
%setup -q -n systemtap-%{version}
%autopatch -p1
%build
# Our binutils always support '?' in the section characters on all
# architectures, no need for configure tests
sed s=@preferred_python@=%{_bindir}/python3= dtrace.in |sed s=@prefix@=%{_prefix}= >dtrace
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 dtrace %{buildroot}%{_bindir}
%files
%defattr(-,root,root)
%{_bindir}/dtrace
%changelog

87
systemtap-headers.changes Normal file
View File

@ -0,0 +1,87 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
- Remove patches (upstream):
Handle-user-supplied-sdt-probe-argument-template.patch
PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
gcc12-warning-suppression.patch
sys-sdt.h-fp-constraints-aarch64-s390.patch
sys-sdt.h-fp-constraints-arm32.patch
sys-sdt.h-fp-constraints-x86_64.patch
-------------------------------------------------------------------
Wed Mar 2 19:19:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Add gcc12 support (bsc#1196583)
New patch: PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
New patch: gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
New patch: gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
New patch: buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
New patch: gcc12-warning-suppression.patch
-------------------------------------------------------------------
Mon Feb 21 10:56:37 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Handle-user-supplied-sdt-probe-argument-template.patch: Fix glibc build
failure on s390x
-------------------------------------------------------------------
Mon Feb 14 15:46:00 UTC 2022 - Tony Jones <tonyj@suse.com>
- Resolve gcc compilation error reported against glib2 and libvirt
New patch: sys-sdt.h-fp-constraints-arm32.patch
New patch: sys-sdt.h-fp-constraints-x86_64.patch
New patch: sys-sdt.h-fp-constraints-aarch64-s390.patch
-------------------------------------------------------------------
Thu Jan 27 23:26:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.6. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Dec 6 17:32:56 UTC 2019 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.2. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Aug 9 20:06:57 UTC 2019 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.1. See systemtap.spec for changelog
-------------------------------------------------------------------
Fri Aug 3 16:50:41 UTC 2018 - sschricker@suse.de
- Upgrade to version 3.3:
Changelog: https://lwn.net/Articles/757030/
eBPF backend extensions, easier access to examples, adapting to
meltdown/spectre complications, real-time / high-cpu-count
concurrency fixes
- Remove patches, because the issues were fixed upstream:
systemtap-change-extra_cflags-escape-processing.patch
- Adjust patch for version 3.3:
systemtap-build-source-dir.patch
- Added public key of "Frank Ch. Eigler <fche@elastic.org>",
since he signed the new package
-------------------------------------------------------------------
Fri Feb 16 15:20:50 UTC 2018 - matz@suse.com
- Add Conflicts with systemtap-sdt-devel, as that one again
provides the headers as well.
-------------------------------------------------------------------
Thu Feb 8 15:26:17 UTC 2018 - matz@suse.com
- Created new specfile systemtap-headers.spec, so bootstrap cycles
packages can use them without blowing up the cycle.
[fate#324969]

68
systemtap-headers.spec Normal file
View File

@ -0,0 +1,68 @@
#
# spec file for package systemtap-headers
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Note: this separate package systemtap-headers exists so that ring0
# packages can make use of the SDT headers without pulling in all
# build requirements of the normal systemtap package. Normal use
# outside of BuildRequires in ring0 packages should use systemtap-sdt-devel
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap-headers
Version: 4.9
Release: 0
Summary: SystemTap headers
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
Source5: stap-server.conf
Patch1: systemtap-build-source-dir.patch
# sdt-devel provides the same header files as us, so we
# must conflict
Conflicts: systemtap-sdt-devel
%description
SystemTap is an instrumentation system for systems running Linux.
This package contains only the headers for static system probes and
exists only to limit build cycles. Normally you should install
systemtap-sdt-devel, which also contains these headers.
%prep
%setup -q -n systemtap-%{version}
%autopatch -p1
%build
# Our binutils always support '?' in the section characters on all
# architectures, no need for configure tests
sed -e 's/@support_section_question@/1/' < includes/sys/sdt-config.h.in > includes/sys/sdt-config.h
%install
mkdir -p %{buildroot}%{_includedir}/sys
cp -rp includes/sys/*.h %{buildroot}%{_includedir}/sys/
%files
%defattr(-,root,root)
%{_includedir}/sys/*.h
%changelog

903
systemtap.changes Normal file
View File

@ -0,0 +1,903 @@
-------------------------------------------------------------------
Wed May 10 06:00:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.9:
* ISystemtap: the new interactive systemtap jupyter kernel.
This provides a simple GUI for writing/running Systemtap
scripts in an easy, incremental way within Jupyterlab.
Added 2 news scripts, stap-jupyter-install
and stap-jupyter-container. See stap-jupyter(1).
* The new "language-server" mode, specified by "stap
--language-server", starts a LSP server which will
communicate with the client via stdio.
* This server currently supports code completion suggestions.
* See language-server/README.md for more details and usage
instructions.
* Safety/liveness checking for $context variable assignments in
probes of retpoline-compiled kernels is temporarily disabled.
* DWARF-related probes (.function, .statement) now merge DWARF
and non-DWARF symbol-table based matches, rather than being
either-or.
* The python3 tapset was extended to support python3 3.9, 3.10,
and 3.11. See stapprobes(3stap) for further details on probing
python functions.
* A template cve band-aid script is now included, which
demonstrates how to use a new 'livepatch.stp' tapset to
standardize activation, interactive control,
and monitoring of systemtap cve band-aids.
* The kernel runtime now uses much less memory when the number
of "possible CPUs" are way more than the online ones. For
example, VMWare guests usually have 128 "possible CPUs" while fewer
CPUs are actually present or online in the guest system.
* The memory allocation size is now irrelevant to the value of
NR_CPUS of the current kernel. It is only subject to the
number of "possible CPUs" or "online CPUs".
* CPU hotplug is supported to the extent that there won't be
any kernel panics or memory corruptions.
* The bpf backend's embedded-code assembler has been improved
to support more conventional assembly syntax with named
opcodes. The opcode names are based on the iovisor bpf-docs
documentation at
https://github.com/iovisor/bpf-docs/blob/master/eBPF.md
-------------------------------------------------------------------
Thu May 4 11:27:26 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Add _multibuild to define 2nd spec file as additional flavor.
Eliminates the need for source package links in OBS.
-------------------------------------------------------------------
Tue Sep 13 00:13:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Update to version 4.7
Release notes: https://sourceware.org/pipermail/systemtap/2022q2/027491.html
- Remove patches (upstream):
Handle-user-supplied-sdt-probe-argument-template.patch
PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
gcc12-warning-suppression.patch
sys-sdt.h-fp-constraints-aarch64-s390.patch
sys-sdt.h-fp-constraints-arm32.patch
sys-sdt.h-fp-constraints-x86_64.patch
- Update systemtap.keyring
-------------------------------------------------------------------
Wed Mar 2 19:19:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Add gcc12 support (bsc#1196583)
New patch: PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
New patch: gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
New patch: gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
New patch: buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
New patch: gcc12-warning-suppression.patch
-------------------------------------------------------------------
Mon Feb 21 10:56:37 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Handle-user-supplied-sdt-probe-argument-template.patch: Fix glibc build
failure on s390x
-------------------------------------------------------------------
Mon Feb 14 15:46:00 UTC 2022 - Tony Jones <tonyj@suse.com>
- Resolve gcc compilation error reported against glib2 and libvirt
New patch: sys-sdt.h-fp-constraints-arm32.patch
New patch: sys-sdt.h-fp-constraints-x86_64.patch
New patch: sys-sdt.h-fp-constraints-aarch64-s390.patch
-------------------------------------------------------------------
Thu Jan 27 23:21:10 UTC 2022 - Tony Jones <tonyj@suse.com>
- Update to version 4.6 (bsc#1194395)
4.6 release notes: https://sourceware.org/pipermail/systemtap/2021q4/027370.html
4.5 release notes: https://sourceware.org/pipermail/systemtap/2021q2/027225.html
4.4 release notes: https://sourceware.org/pipermail/systemtap/2020q4/027074.html
4.3 release notes: https://sourceware.org/pipermail/systemtap/2020q2/026923.html
Remove patches (upstream):
- systemtap-amend-fallback-comment-to-work-with-newer-gcc.patch
- systemtap-fix-strict-prototypes-in-autoconf-stack-trace-save-regs.c.patch
Update systemtap.keyring for new signer
-------------------------------------------------------------------
Wed Apr 28 16:46:32 UTC 2021 - Tony Jones <tonyj@suse.com>
- Adjust stap-server.conf to refer to /run not /var/run (bsc#1185068)
-------------------------------------------------------------------
Mon Aug 24 12:13:19 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %{_tmpfilesdir} instead of wrong %{_libexecdir}/tmpfiles.d
that just coincidentally happened to match (boo#1174075).
-------------------------------------------------------------------
Thu Feb 6 02:02:58 UTC 2020 - Tony Jones <tonyj@suse.com>
- Add recommends on kernel-devel (bsc#1158733)
-------------------------------------------------------------------
Mon Feb 3 23:01:33 UTC 2020 - Tony Jones <tonyj@suse.com>
- Resolve protoype issue when invoking tracebacks (bsc#1161296)
Also dependent fix to handle GCC fallthrough
New patch: systemtap-fix-strict-prototypes-in-autoconf-stack-trace-save-regs.c.patch
New patch: systemtap-amend-fallback-comment-to-work-with-newer-gcc.patch
-------------------------------------------------------------------
Mon Jan 27 11:29:47 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Replace libebl-devel BuildRequires with libdw-devel: ebl is
being absorbed by libdw.
-------------------------------------------------------------------
Fri Dec 6 17:29:35 UTC 2019 - Tony Jones <tonyj@suse.com>
- Update to version 4.2
Release notes: https://sourceware.org/ml/systemtap/2019-q4/msg00044.html
Delete patch: systemtap-support-wimplicit-fallthrough-vsprintf.patch
Delete patch: systemtap-support-wimplicit-fallthrough-gen_map.patch
-------------------------------------------------------------------
Thu Nov 7 18:18:07 UTC 2019 - Tony Jones <tonyj@suse.com>
- Add support for gcc -Wimplicit-fallthrough to resolve compilation errors
of the form "this statement may fall through"
New patch: systemtap-support-wimplicit-fallthrough-vsprintf.patch
New patch: systemtap-support-wimplicit-fallthrough-gen_map.patch
-------------------------------------------------------------------
Mon Oct 14 07:32:43 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Do not require exact version of systemtap-dtrace as build
counters are not same for different packages
-------------------------------------------------------------------
Mon Sep 30 14:07:44 UTC 2019 - Michael Gorse <mgorse@suse.com>
- Moved the dtrace binary into a separate package to resolve build
cycle with glib2 (bsc#1145438).
-------------------------------------------------------------------
Fri Aug 9 20:06:57 UTC 2019 - Tony Jones <tonyj@suse.com>
- Update to version 4.1.
Do not package systemtap-exporter.
4.1 release notes: https://sourceware.org/ml/systemtap/2019-q2/msg00043.html
4.0 release notes: https://sourceware.org/ml/systemtap/2018-q4/msg00018.html
- Force autoreconf of configure to match systemtap-docs (tarball configure
is stale).
-------------------------------------------------------------------
Mon Apr 15 13:40:09 UTC 2019 - jlee@suse.com
- Add BuildRequire libavahi-devel, otherwise that the systemstap-server
and systemstap client do not work. (bsc#1132538)
-------------------------------------------------------------------
Wed Jan 30 13:17:03 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire pkgconfig(systemd) instead of systemd: allow to use
systemd-mini during build.
- Use %tmpfiles_create macro in -server package: consider the right
usage in transactional update cases.
-------------------------------------------------------------------
Fri Jan 4 18:38:37 UTC 2019 - mgorse@suse.com
- Remove glib2-devel from BuildRequires: it appears not to be used
and causes a build loop if glib2 is built with SDT markers
(bsc#1090047).
-------------------------------------------------------------------
Fri Aug 3 16:50:41 UTC 2018 - sschricker@suse.de
- Upgrade to version 3.3:
Changelog: https://lwn.net/Articles/757030/
eBPF backend extensions, easier access to examples, adapting to
meltdown/spectre complications, real-time / high-cpu-count
concurrency fixes
- Remove patches, because the issues were fixed upstream:
systemtap-fixes-for-gcc-8.patch
systemtap-change-extra_cflags-escape-processing.patch
- Adjust patch for version 3.3:
systemtap-build-source-dir.patch
- Added public key of "Frank Ch. Eigler <fche@elastic.org>",
since he signed the new package
-------------------------------------------------------------------
Fri Mar 23 23:54:17 UTC 2018 - tonyj@suse.com
- GCC 8 fixes (bsc#1084642)
New patch: systemtap-fixes-for-gcc-8.patch
-------------------------------------------------------------------
Fri Feb 16 15:28:22 UTC 2018 - matz@suse.com
- Care for pecularities of build counter syncs between different
build rings: the Requires from sdt-devel can't use %release
for systemtap-headers, but we also don't want to just include
%version, so separate both totally:
* Add the include headers to sdt-devel again.
* Add Conflicts with systemtap-headers to care for the resulting
file conflicts.
* Remove Require from sdt-devel to systemtap-headers again.
-------------------------------------------------------------------
Thu Feb 8 15:28:32 UTC 2018 - matz@suse.com
- Don't include the headers files in sdt-devel
- Add systemtap-headers to Requires of sdt-devel, so that it
provides the same files as before. [fate#324969]
-------------------------------------------------------------------
Mon Nov 20 23:01:35 UTC 2017 - tonyj@suse.com
- Upgrade to version 3.2
Changelog: https://sourceware.org/ml/systemtap/2017-q4/msg00096.html
Drop patch: systemtap-tweak-i386-argument-passing.patch (upstream)
Update keyring.
- Fix issue with Kbuild handling of escaped paths (bsc#1067437)
Add patch: systemtap-change-extra_cflags-escape-processing.patch
-------------------------------------------------------------------
Fri Nov 10 12:48:28 UTC 2017 - mpluskal@suse.com
- Use pytho3 by default (fate#323526)
* Do not explicitly require python by subpackage, dependency gets
generated automatically
-------------------------------------------------------------------
Thu Mar 30 19:42:04 UTC 2017 - tonyj@suse.com
- Tweak i386 argument-passing (bsc#1030285)
New patch: systemtap-tweak-i386-argument-passing.patch
-------------------------------------------------------------------
Tue Mar 28 19:32:02 UTC 2017 - jeffm@suse.com
- Update to version 3.1
Update keyring with new key
Changelog:
https://sourceware.org/ml/systemtap/2017-q1/msg00106.html
-------------------------------------------------------------------
Fri Apr 1 19:28:53 CEST 2016 - tonyj@suse.de
- Update to version 3.0
Update keyring with new key
Update info in README-KEYRING
Changelog:
https://sourceware.org/ml/systemtap/2016-q1/msg00179.html
-------------------------------------------------------------------
Tue Nov 10 00:32:54 UTC 2015 - tonyj@suse.com
- Update to version 2.9.
Update keyring with new key
Changelog:
https://sourceware.org/ml/systemtap/2015-q4/msg00025.html
-------------------------------------------------------------------
Fri Sep 11 17:59:49 UTC 2015 - tonyj@suse.com
- Update to version 2.8.
Update keyring with new key
New file: README-KEYRING documenting how to update keyring
Changelog:
https://sourceware.org/ml/systemtap/2015-q2/msg00160.html
-------------------------------------------------------------------
Fri Mar 27 17:03:48 UTC 2015 - mpluskal@suse.com
- Update keyring with new key
-------------------------------------------------------------------
Fri Mar 27 14:12:15 UTC 2015 - p.drouand@gmail.com
- Update to version 2.7
Changelog:
https://sourceware.org/ml/systemtap/2015-q1/msg00173.html
- Update systemtap-docdir-fix.diff
-------------------------------------------------------------------
Tue Feb 17 20:49:14 UTC 2015 - mpluskal@suse.com
- Add keyring and signature
- Cleanup spec file with spec-cleaner
-------------------------------------------------------------------
Tue Sep 9 06:05:47 UTC 2014 - tonyj@suse.com
- Update to version 2.6
Changelog:
2.6: https://sourceware.org/ml/systemtap/2014-q3/msg00231.html
-------------------------------------------------------------------
Sat May 17 19:34:40 UTC 2014 - coolo@suse.com
- use %_rundir if available
-------------------------------------------------------------------
Fri May 2 19:48:19 UTC 2014 - tonyj@suse.com
- Update to version 2.5
Changelog:
2.5: https://sourceware.org/ml/systemtap/2014-q2/msg00103.html
-------------------------------------------------------------------
Fri Nov 15 18:51:03 UTC 2013 - tonyj@suse.com
- Update to version 2.4
Changelog:
2.4: http://sourceware.org/ml/systemtap/2013-q4/msg00165.html
-------------------------------------------------------------------
Wed Aug 7 17:40:24 UTC 2013 - tonyj@suse.com
- Update to version 2.3
Changelog:
2.3: http://sourceware.org/ml/systemtap/2013-q3/msg00062.html
- Refresh systemtap-build-source-dir.patch for context
-------------------------------------------------------------------
Wed May 22 17:42:53 UTC 2013 - tonyj@suse.com
- Upgrade to version 2.2.1
Drop patch: systemtap-fix-for-kernels-without-vm_executable.patch
Refresh patch (context): systemtap-build-source-dir.patch
Changelog:
2.1: http://sourceware.org/ml/systemtap/2013-q1/msg00130.html
2.2.1: http://sourceware.org/ml/systemtap/2013-q2/msg00138.html
-------------------------------------------------------------------
Fri Feb 22 06:30:58 UTC 2013 - tonyj@suse.com
- Change how systemtap looks for tracepoint header files
(bnc#796574, new patch: systemtap-build-source-dir.patch)
- Add libebl1 dependancy. Systemtap manually loads libebl backends and
the manual Requires: was incorrectly removed in a previous revision
(bnc#800335)
-------------------------------------------------------------------
Fri Dec 14 23:42:06 UTC 2012 - tonyj@suse.com
- Update to version 2.0
Changelog: http://sourceware.org/ml/systemtap/2012-q4/msg00047.html
- Delete previous patches (present in version 2.0):
link-with-pthread.patch
systemtap-linux-types.patch
- Add patches:
systemtap-fix-for-kernels-without-vm_executable.patch
-------------------------------------------------------------------
Wed Oct 17 12:20:17 UTC 2012 - fcrozat@suse.com
- Fix build with new systemd location.
-------------------------------------------------------------------
Fri Jul 27 10:29:19 UTC 2012 - aj@suse.de
- Fix build with glibc 2.16
-------------------------------------------------------------------
Mon Jun 18 09:46:52 CEST 2012 - jslaby@suse.de
- Upgrade to version 1.8
Changelog: http://sourceware.org/ml/systemtap/2012-q2/msg00277.html
-------------------------------------------------------------------
Sat Feb 18 01:33:56 UTC 2012 - tonyj@suse.com
- Upgrade to version 1.7
Changelog: http://sourceware.org/ml/systemtap/2012-q1/msg00097.html
-------------------------------------------------------------------
Wed Nov 23 14:30:33 CET 2011 - aj@suse.de
- Create tmpfiles during new install.
-------------------------------------------------------------------
Wed Nov 2 10:54:26 CET 2011 - jslaby@suse.de
- update to 1.6
changes 1.5-1.6: http://sourceware.org/ml/systemtap/2011-q3/msg00105.html
changes 1.4-1.5: http://sourceware.org/ml/systemtap/2011-q2/msg00218.html
-------------------------------------------------------------------
Fri Aug 19 08:38:29 UTC 2011 - tonyj@novell.com
- Fix for bnc#710291 - systemtap: fails rpmlint check non-ghost-in-var-run
-------------------------------------------------------------------
Mon May 2 15:11:31 UTC 2011 - idoenmez@novell.com
- Add systemtap-1.4-gcc46.patch to fix compilation with gcc 4.6
-------------------------------------------------------------------
Tue Mar 15 17:50:11 CET 2011 - jslaby@suse.de
- add ifdef CLONE_STOPPED to fix compilation on newer kernels
-------------------------------------------------------------------
Fri Jan 21 18:46:18 UTC 2011 - tonyj@novell.com
- Update to version 1.4
Changes in this release: https://lkml.org/lkml/2011/1/17/101
Drop patches:
systemtap-hppa.diff
systemtap-support-2.6.36.diff
systemtap_fix_mod_vs_del_timer_race.patch
systemtap_improve_gettimeofday_stability.patch
-------------------------------------------------------------------
Fri Jan 14 14:32:11 UTC 2011 - trenn@novell.com
- Hopefully fix bnc#664105:
Kernel segfault in kernel/timer.c - comm: stapio (process) - related to preloadtrace.ko
-------------------------------------------------------------------
Mon Sep 13 11:25:26 UTC 2010 - coolo@novell.com
- take fix for pr11940 from systemtap git
-------------------------------------------------------------------
Sun Sep 5 18:39:44 UTC 2010 - bg@novell.com
- fix build for hppa
-------------------------------------------------------------------
Thu Aug 26 01:35:21 UTC 2010 - tonyj@novell.com
- Update from version 1.1 to version 1.3
Upstream release notes:
1.3: http://sourceware.org/ml/systemtap/2010-q3/msg00098.html
1.2: http://sourceware.org/ml/systemtap/2010-q1/msg00740.html
-------------------------------------------------------------------
Wed Jul 21 12:51:32 CEST 2010 - vuntz@opensuse.org
- Add python Requires to sdt-devel subpackage since dtrace is a
python script.
-------------------------------------------------------------------
Thu Mar 11 23:56:17 UTC 2010 - tonyj@novell.com
- Add dependancies for systemtap shell scripts (coreutils, zip, avahi)
-------------------------------------------------------------------
Thu Mar 11 22:47:15 UTC 2010 - tonyj@novell.com
- Update to version 1.1
- Fixes for CVE-2009-4273 (second part, also known as CVE-2010-0412) and
CVE-2010-0411.
- Fix parsing error (systemtap-prevent-nested-arg.diff)
-------------------------------------------------------------------
Wed Dec 2 23:51:24 UTC 2009 - tonyj@novell.com
- Fixes for CVE-2009-2911, BNC#548361
-------------------------------------------------------------------
Fri Oct 2 18:57:14 CEST 2009 - tonyj@suse.de
- updated to version 1.0:
* SystemTap frontend (stap) changes
- EXPERIMENTAL support for unprivileged users.
- -a ARCH allows cross compiling of scripts, stap-start-server arguments
extended to support starting a cross compiling server
- Change notion of architecture to be same as kernels
- Support output file switching by SIGUSR2
- New experimental transport mechanism using ftrace's ring_buffer
- Reduction in memory consumption for scripts using many uprobes
- Support for recognizing DW_OP_{stack,implicit}_value DWARF expressions
* SystemTap script language changes
- Dwarf probes now support C++ scopes and so can be limited to classes or
namespaces.
- Preprocessor support for || and &&
- Probe alias names may be overloaded (multiple aliases of same name)
* SystemTap tapset changes
- Enabling semaphore now used to reduce computation overhead of dorman
process().mark() probes.
- Many functions marked as usable by unprivileged users (return global info
or specific to user process).
- New netdev tapset probe points for monitoring network traffic and device
configurations.
- New task_backtrace function returns the current hex backtrace of any
arbitrary task in the system.
- Function is_myproc returns whether the current process is owned by user
which started systemtap script.
-------------------------------------------------------------------
Thu Aug 13 15:55:14 CEST 2009 - tiwai@suse.de
- updated to version 0.9.9:
* Systemwide kernel .function.return (kretprobe) maxactive overridden
with -DKRETACTIVE=nnn parameter.
* performance improvement in translation pass 2
* new DW_OP_call_frame_CFA handling with elfutils 0.142
* dwarf probes now show parameters and local variables in the verbose
listing mode (-L)
* symbol aliases are now resolved to their canonical dwarf names
* The syntax for dereferencing $target variables and @cast() gained new
capabilities
* For reading all probe variables, kernel.mark now supports $$vars and
$$parms, and process.syscall now supports $$vars.
* SNMP tapset for many network statistics
* dentry tapset to map kernel VFS directory entries to file or full
path names: d_path(), d_name() and reverse_path_walk().
* SystemTap now has userspace markers in its own binaries
* More to see in NEWS
-------------------------------------------------------------------
Tue Jul 21 08:47:11 CEST 2009 - tiwai@suse.de
- corrected to use libexecdir
- fix summary and description
-------------------------------------------------------------------
Tue Jun 16 16:24:28 CEST 2009 - tiwai@suse.de
- updated to version 0.9.8:
* Module signing support
* Debuginfo suggestions when a script fails
* Using %M in print formats for hex dumps can now print entire
buffers
* Dwarfless syscalls: The nd_syscalls tapset is now available to
probe system calls without requiring kernel debug info.
* sid() returns the session ID of the current process
* stringat() indexes a single character from a string.
* New script examples
-------------------------------------------------------------------
Wed May 20 13:02:00 CEST 2009 - tiwai@suse.de
- split docs and examples to docs subpackage and generate from its
own spec file to cut off the dependency loop
-------------------------------------------------------------------
Fri May 15 11:46:11 CEST 2009 - tiwai@suse.de
- split to several subpackages, systemtap-runtime, -client, -server
and -sdt-devel (bnc#503088).
-------------------------------------------------------------------
Fri May 8 16:43:08 CEST 2009 - tiwai@suse.de
- updated to released version 0.9.7:
* Lots of fixes, improvements, see NEWS file for details
-------------------------------------------------------------------
Thu Feb 19 16:55:48 CET 2009 - tiwai@suse.de
- updated to systemtap snashot 20090214:
* Version bump to 0.8
* Bunch of fixes and updates, see ChangeLog
* Fix for recent 2.6.29 kernels
- fixed doc build, using fop instead of direct xmlto pdf
-------------------------------------------------------------------
Thu Feb 12 16:32:29 CET 2009 - tiwai@suse.de
- backport the blacklist additions from upstream to fix possible
system crash (bnc#459387, bnc#473277)
-------------------------------------------------------------------
Thu Feb 5 13:31:19 CET 2009 - tiwai@suse.de
- Backport tapset/signal.stp to fix the signal probe problem
(bnc#468321)
-------------------------------------------------------------------
Tue Feb 3 14:39:38 CET 2009 - tiwai@suse.de
- Fix debugpath.exp with $SYSTEMTAP_DEBUGINFO_PATH (bnc#471811)
-------------------------------------------------------------------
Thu Jan 29 12:58:42 CET 2009 - tiwai@suse.de
- Fix procfs dir_entry count warning (bnc#470526)
- Improve the parsing of lineno checks (bnc#468247)
-------------------------------------------------------------------
Thu Jan 15 08:22:24 CET 2009 - tiwai@suse.de
- Fix quoting in Tcl scripts (bnc#461588)
-------------------------------------------------------------------
Mon Jan 12 12:55:06 CET 2009 - tiwai@suse.de
- Fix syntax errors with Tcl send_log (bnc#460886)
-------------------------------------------------------------------
Thu Dec 18 16:59:23 CET 2008 - tiwai@suse.de
- Fix stap failures with signal tapsets (bnc#459387)
-------------------------------------------------------------------
Tue Dec 16 13:50:32 CET 2008 - tiwai@suse.de
- Fix dependency on libebl1 (bnc#448331, #445783)
- Fix stap for 2.6.28 kernels
-------------------------------------------------------------------
Fri Dec 12 16:32:35 CET 2008 - tiwai@suse.de
- Don't assert of dwarf_getsrcfiles(). This hits recent SUSE
kernels (bnc#455992)
- Backport fix patches for stap-*-server scripts to run with
netcat (bnc#446686)
-------------------------------------------------------------------
Mon Dec 8 14:09:01 CET 2008 - tiwai@suse.de
- fixed unresolved path in man pages (bnc#457217)
- fixed build for old distros on OBS
-------------------------------------------------------------------
Thu Dec 4 18:08:23 CET 2008 - tiwai@suse.de
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
-------------------------------------------------------------------
Fri Nov 21 14:09:21 CET 2008 - tiwai@suse.de
- Add the bound check of parameters to fix segfault (bnc#447551)
-------------------------------------------------------------------
Tue Nov 4 13:57:24 CET 2008 - tiwai@suse.de
- Fix systemtap assertion with CONFIG_RELOCATABLE (bnc#440351)
-------------------------------------------------------------------
Thu Sep 11 17:14:47 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080906
* Fix / clean up autotools stuff
* Ugly workaround for 2.6.27 and later kernel
* stap-server updates
* Lots of small fixes
-------------------------------------------------------------------
Tue Aug 12 18:11:10 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080809
* bump to 0.7.1
* tutorials
* examples
* i386-fix merged
* previous patches are all merged in
- add latex2html to buildrequires for generating documents
-------------------------------------------------------------------
Fri Jun 20 15:58:30 CEST 2008 - tiwai@suse.de
- fix run on i386 (bnc#401970)
- don't include obsolete linux/compile.h.
-------------------------------------------------------------------
Wed Jun 18 16:04:01 CEST 2008 - tiwai@suse.de
- updated to snapshot 20080614:
* bump to version 0.7, man page updates, misc fixes
see ChangeLog for details
-------------------------------------------------------------------
Fri Mar 14 14:15:17 CET 2008 - tiwai@suse.de
- updated to snapshot 20080308:
* configure fixes, compile option changes
* fixes for 2.6.25 kernel
-------------------------------------------------------------------
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
- updated to snapshot 20080105
- fixed build of the snapshot with gcc 4.3
-------------------------------------------------------------------
Mon Nov 19 14:53:53 CET 2007 - tiwai@suse.de
- enable gcc-4.3 patch (yes, we use only gcc4.3 now)
- updated to snapshot 20071117
-------------------------------------------------------------------
Thu Oct 25 12:53:04 CEST 2007 - tiwai@suse.de
- disable gcc-4.3 fix again since it breaks older gccs...
-------------------------------------------------------------------
Wed Oct 24 16:33:35 CEST 2007 - tiwai@suse.de
- fix build with gcc 4.3
-------------------------------------------------------------------
Mon Oct 22 15:23:15 CEST 2007 - tiwai@suse.de
- updated to snapshot 20071020:
* bump up version 0.6
* bunch of updates and fixes, see ChangeLog
-------------------------------------------------------------------
Tue Aug 14 16:53:57 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070811:
* Updated -m MODNAME usage
* Rework on line editing functions
-------------------------------------------------------------------
Mon Jul 16 17:39:33 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070714:
* configure fix for sqlite
* support for crash extension module
* new enum for type column in coverage_element
-------------------------------------------------------------------
Wed Jul 4 12:22:34 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070630:
* auto-tools fixes, sqlite3 requirement
- add sqlite-devel and glib2-devel to buildrequires
-------------------------------------------------------------------
Wed Jun 6 16:13:15 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070602:
* fix for gcc4.3
* minor fixes in elaborate.*
- include the snapshot date into version string
- clean up spec file
-------------------------------------------------------------------
Tue May 22 17:09:38 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070519:
* Updated temporary handlings
* Autoconf tweaks
* Performance improvements with const and temporary handlings
* Removed do_write and do_read probles, added aio_write,
aio_read, writev and readv probes.
-------------------------------------------------------------------
Mon May 21 12:24:15 CEST 2007 - tiwai@suse.de
- use the external elfutils packages.
-------------------------------------------------------------------
Tue Apr 24 18:15:56 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070421 and elfutils-0.127:
* minor compile warning fixes
* add interruptible parameter
* improvement on documents
* fix for debugfs and relayfs mounts
* see ChangeLog for other changes
-------------------------------------------------------------------
Mon Mar 19 17:25:52 CET 2007 - tiwai@suse.de
- updated to snapshot 20070317:
including all fix patches
-------------------------------------------------------------------
Thu Mar 8 15:24:56 CET 2007 - tiwai@suse.de
- fix the handling of function arguments in more generic way
(#245310, #252311)
added a new option -P to switch the prologue-search behavior
-------------------------------------------------------------------
Wed Mar 7 15:47:20 CET 2007 - tiwai@suse.de
- fix misalignment of exception table entry on s390x (#249576)
-------------------------------------------------------------------
Mon Feb 26 12:42:41 CET 2007 - tiwai@suse.de
- fix crash with large H value in hist_linear() (#248430)
-------------------------------------------------------------------
Fri Feb 23 16:43:53 CET 2007 - tiwai@suse.de
- fix mmap syscall on s390x (#248110)
-------------------------------------------------------------------
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
- update to snapshot 20070203, bugfixes including:
* add missing sockets tapset support (#239346)
* fix the array membership (#242481)
-------------------------------------------------------------------
Wed Jan 31 13:44:43 CET 2007 - tiwai@suse.de
- turn on Autoprov again to fix broken dependency.
-------------------------------------------------------------------
Tue Jan 30 12:01:03 CET 2007 - tiwai@suse.de
- update to snapshot 20070120 and elfutils-0.125 to fix major
bugs (#238710):
* fixed libdw known bugs in elfutils 0.124
* add the missing support of tapsetr/errno.stp for s390x
* fix conditionals in syscall tapset for s390x
* new macros to safely read/write values from kernel pointers
* fix the non-standard C behavior to handle NULL in an array
* fixed support for benchmarking mode with off-line code
* added support to allow user to use array size declarations
* reduce number of calls to stp_module_relocate within $tvar
functions
-------------------------------------------------------------------
Tue Jan 9 19:30:00 CET 2007 - tiwai@suse.de
- updated to the recent snapshot version (FATE 301670).
* fix cache bugs
* auto-tools fixes
* probe registartion rework
* allow negative numeric literals
* bugfixes/optmizations
- elfutls 1.2.4
removed codes with problematic license in elfutils (#232894)
-------------------------------------------------------------------
Thu Aug 24 19:10:59 CEST 2006 - tiwai@suse.de
- update elfutils to 1.2.3, including vmlinux.debuginfo fix.
-------------------------------------------------------------------
Thu Aug 24 18:20:39 CEST 2006 - tiwai@suse.de
- fix the auto-lookup of vmlinux debuginfo for SUSE systems
- fix the stp compilation with 2.6.18 kernel
-------------------------------------------------------------------
Wed Aug 9 15:27:09 CEST 2006 - tiwai@suse.de
- updated to latest snapshot (version 0.5.8)
with elfutils-1.2.2.
-------------------------------------------------------------------
Tue Apr 18 03:14:22 CEST 2006 - mason@suse.de
- Update to latest snapshot
-------------------------------------------------------------------
Sun Apr 9 20:32:35 CEST 2006 - mason@suse.de
- created package

41
systemtap.keyring Normal file
View File

@ -0,0 +1,41 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFJWrakBCADZrDaBQdpt/RCpkqbXY4EjqbCgScNlhROmQ73zYr38ZAAifR4l
z2quHwlqbirVMldAFDlpgcF7DGFEI3J7jEaTupB/2FehBwEfMZBRnYu24vgyCHYW
XlgatzJEOdudmVwU2Jbm6oigEj7VzlaMyiVM/yBYQ7UI2S9Cu2fzIQBb22QstBYd
r7mo91KX4y2oT0tDkgnv33mf3Gnn9PkLqoH3cPfkDwtH+5gNnLYo6B9d7upvq85G
BM7HCnzLdsTFX3I7ia1yTVPgIRvFkcv566hez5VGT5TtqeteYStNFkjxkwfdxo+B
6wEAb17XZm3afRDnR7U2KgoOLQl5p4QoIUvxABEBAAG0I0ZyYW5rIENoLiBFaWds
ZXIgPGZjaGVAZWxhc3RpYy5vcmc+iQE3BBMBCAAhBQJSVq2pAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEH6DYQEm3MLoOKcIAIo/XNYfEp4KzLPPll1icbV1
9gx5y4m7moEolycibQ8yH5AScKkUPNrD49E/5vKTUHA0TDlY+TT0k6zQvmuUUKFi
LEMwHGk5+d3QQc3ZYbMYmjz5l3IwQUPfq3ffyZ1X2zdvGsGzRYmlVDJU7InS6YBi
zbUyOzzbXGmEQ7atVnbiBbT2zaerXwRHPNBu+rlCYiX3z8cjU1CntTZo/CAK/ZeZ
iGNSbsflm4lwEJtwhU+m4Sx9x+whHWJNWAeqTY5QsSK8lRlbSdee1SXcY4sGMjJK
UUogNCp8cW04mnE+otA+VEw84An9a0krg2CP/diXeRy48Zxea0a89PmS7RN5FPC5
AQ0EUlatqQEIAMA2VYDXqXuY0i0jYBEVk8mLB60lBMFH1oR9NX9a+7w7AjpwT/yL
msKih2UPiWqJAsdicitRmXdlaMFclSWcxQt/t9IQWp8u+mc4GJRyoLwV/BTy4uPB
fpPRilBWWBCvrqI+Jo01cj9s26Sz+1Y4ybUZEdkejG50+gEECl22nuA68FK9TWtO
aNi5llXezKfibz+GnPhz5uETi29vxyKIa72KxEPvpLObKoAE7FRJw09L0TnaeFX/
HgIw4ZSe1gbbldX/5tc7rAtlWIKxtEJm5ijNRuLB21yILnN54/Ajwa4wu+puzLpP
eC4GiCb0qQJLFpDBKe/O7DUsfqA87sxm3QEAEQEAAYkBHwQYAQgACQUCUlatqQIb
DAAKCRB+g2EBJtzC6N9sB/9c5PC3LWMX1FJwBl4fbAF3/FCeF3dMhXo6ISm2H6kn
4ey9OOPAwdIzfnawxHXraBT+m+Dgap+kf3KduQwGZCmCU+a/g+EHfZqYfwL7bI8o
bp+y+EB9Byw5BN8zZ6uXcn0DJGBvIf32usy4bEXx3IkbrfPEwr7jsTRPmpkEs2K/
NBmOskJe+xKxvwSp503mJ7SBFW1lRb/HpHw3WmB8z/k4ixZTLTVl7XpqK/nwQylV
s03OdvGAZbilqI+EkI6Oqn5zfIQoj9ok/BnqFRrZmClHBfwpPIPs63c4lEVoydOP
6opVodmLYh1SVvKIuaX7lQfVsHw+3iKyuVl2d6U+87LduQENBFJWrakBCADcpQ3L
F6hrSRs1NKsngIUFnBQJzNMZF2nSl0r2piDOQBq+mEoVzTQa0wLIIjPDOJmMNxJw
GfkJdPVmRrJp0DJpRJTbe8hZhThM1eifsYAasXON9wOuo2lSBq0r6vMhDx4AG0xQ
UpOmV4befnehMPrG73dGkbSAGJb0pk6LZKggi5DFkTJaxaVUT3XngpeTlVimqmd+
2Gio/G7sfSi6mqaVpIz3tTGJPQlm4XTrtOCInO66LrJSl4gh9ahhkELW5CCuvANy
pAU7s2OyuS4DXyIpCPeI5Vk3PjwjHOGQvJOLR6FIpX9NvY8j8IKooRGnTuI00TYR
skQNFKRodmM7bjrRABEBAAGJAR8EGAEIAAkFAlJWrakCGyAACgkQfoNhASbcwuh+
+gf9EjXVCzVLdgcy4wz3tGBtYPfiliA4dkk+XctIZ+arxwii6R8QJ33WtUGpzYZT
++KalcOlWVEkb8hlCx/9MDurevUYIj8XQ3QeckpYBjUWD03qgrSrEQoTC9AjOxx8
oTacQ/8fEKNkoHBdSK/3HXZUyVBvYSw8kiz3iZIluWJWf6oH95W9csRmI981oBl4
UWVVfOSzo94NbsbcWVy3MfZBQtO8cHdjd4YF+j5b3Ev1oa/BeH9AIz6OLxV3t/ac
4qqP9I4dmevgOu//sZdOFcvgldcK1+Ht/oFEJK6OqRHelzo+w/RQEnmzMjeITG4S
ak8AOfGf0TkyWlnxRPU/LRr7Zg==
=B6Nz
-----END PGP PUBLIC KEY BLOCK-----

182
systemtap.spec Normal file
View File

@ -0,0 +1,182 @@
#
# spec file for package systemtap
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap
Version: 4.9
Release: 0
Summary: Instrumentation System
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: https://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
Source5: stap-server.conf
Patch1: systemtap-build-source-dir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libavahi-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel
BuildRequires: mozilla-nspr-devel
BuildRequires: mozilla-nss-devel
BuildRequires: mozilla-nss-tools
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: sqlite-devel
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(systemd)
Requires: %{name}-dtrace = %{version}
Requires: %{name}-runtime = %{version}-%{release}
Recommends: kernel-devel
Obsoletes: systemtap-client < 1.5
%description
SystemTap is an instrumentation system for systems running Linux.
Developers can write instrumentation to collect data on the operation
of the system.
%package runtime
Summary: Runtime environment for systemtap
Group: Development/Tools/Debuggers
%description runtime
SystemTap is an instrumentation system for systems running Linux.
This package contains the runtime environment for systemtap programs.
%package server
Summary: Systemtap server
Group: Development/Tools/Debuggers
Requires: %{name} = %{version}-%{release}
# dependancies for systemtap shell scripts
Requires: avahi
Requires: avahi-utils
Requires: coreutils
Requires: mozilla-nss-tools
Requires: unzip
Requires: zip
%description server
SystemTap is an instrumentation system for systems running Linux.
This package contains the server component of systemtap.
%package sdt-devel
Summary: Static probe support tools
# systemtap-headers provides the same header files
# as sdt-devel, so we must conflict.
Group: Development/Tools/Debuggers
Requires: %{name} = %{version}-%{release}
Conflicts: systemtap-headers
%description sdt-devel
SystemTap is an instrumentation system for systems running Linux.
This package contains the support tools for static probes.
%prep
%setup -q
%autopatch -p1
%build
autoreconf -fi
%configure \
--disable-docs \
--with-python3 \
--docdir=%{_docdir}/systemtap
make %{?_smp_mflags} V=1
%install
%make_install
rm -f %{buildroot}%{_bindir}/dtrace
rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request
# README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs
# COPYING needs to stay in main for GPL
rm -rf %{buildroot}%{_docdir}/systemtap/
rm -rf %{buildroot}%{_datadir}/systemtap/examples
rm -rf %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/cs/man3
mkdir -p %{buildroot}%{_docdir}/systemtap/
cp COPYING %{buildroot}%{_docdir}/systemtap/
mkdir -p %{buildroot}%{_localstatedir}/cache/systemtap
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/stap-server.log
# config file for stap-server (/run now on tmpfs)
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}
%find_lang systemtap
%post server
# Create tmpfiles
%tmpfiles_create %{_tmpfilesdir}/stap-server.conf
%files
%{_bindir}/stap
%{_bindir}/stap-profile-annotate
%{_bindir}/stap-jupyter-container
%{_bindir}/stap-jupyter-install
%{_mandir}/man[17]/*
%{_mandir}/cs/man[17]/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/runtime
%{_datadir}/%{name}/interactive-notebook
%{_datadir}/%{name}/tapset
#packaged by systemtap-initscript in upstream
%dir %{_localstatedir}/cache/systemtap
%files runtime -f systemtap.lang
%doc %{_docdir}/systemtap
%{_bindir}/staprun
%{_bindir}/stapsh
%{_bindir}/stap-merge
%{_bindir}/stap-report
%{_bindir}/stapbpf
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/stapio
%{_libexecdir}/%{name}/stap-env
%{_libexecdir}/%{name}/stap-authorize-cert
%{_mandir}/man8/staprun.8*
%{_mandir}/man8/systemtap-service.8*
%{_mandir}/cs/man8/systemtap.8*
%{_mandir}/man8/stapsh.8*
%{_mandir}/cs/man8/stapsh.8*
%{_mandir}/man8/stapbpf.8*
%files server
%dir %{_tmpfilesdir}
%{_tmpfilesdir}/stap-server.conf
%{_bindir}/stap-server
%{_libexecdir}/%{name}/stap-gen-cert
%{_libexecdir}/%{name}/stap-serverd
%{_libexecdir}/%{name}/stap-sign-module
%{_libexecdir}/%{name}/stap-start-server
%{_libexecdir}/%{name}/stap-stop-server
%{_mandir}/man8/stap-server.8*
%{_mandir}/cs/man8/stap-server.8*
%ghost %{_localstatedir}/log/stap-server.log
%ghost %dir %{_rundir}/stap-server
%files sdt-devel
%{_includedir}/sys/*.h
%changelog