3
0
forked from pool/systemtap
Commit Graph

24 Commits

Author SHA256 Message Date
Tony Jones
29b0745414 - Upgrade to version 5.1. See systemtap.changes for changelog
- Upgrade to version 5.1. See systemtap.changes for changelog 
- Upgrade to version 5.1. See systemtap.changes for changelog 
- Update to version 5.1
  Summary of changes:
  * SystemTap frontend (stap) changes
    - An experimental "--build-as=USER" flag to reduce privilege during
      script compilation, which is a security improvement effort.
    - New probe-points for userland hardware breakpoints/watchpoints
      targeting processes (PR31180):
        probe process.data(ADDRESS).write
        probe process.data(ADDRESS).rw
        probe process.data(ADDRESS).length(LEN).write
        probe process.data(ADDRESS).length(LEN).rw
    - Support for stap --remote=bpf.
    - Improved searching heuristics for probing symbol names with/without
      symbol-version suffixes and with/without weak names.
    - Made long-running debuginfod downloads more cleanly interruptible.
    - Improved stap-prep heuristics for finding debuginfo for "-rt"
      (real-time) kernels.
  
  * SystemTap backend changes
    - Dynamic namespace switching for processes targeted via "-x PID",
      allowing processes running within containers to be probed.
    - Improved message transport robustness for heavy traffic (individual
      messages spanning pages) and for short runs (avoiding loss of
      last-gasp messages).
    - Added MTAG macro on several internal memory allocation routines
      to improve leak warnings.  Corrected a bunch of leaks.
    - "stap -t" now reports module initialization timings too.
    - Ported runtime for GCC14 compatibility, with its more recent C
      dialect warnings.
    - Support for DW_OP_bra in DWARF location lists, which makes a few
      more $context variables accessible to systemtap.
  
  * SystemTap tapset changes
    - Portability fixes for more recent kernels, as always.
    - set_kernel_string* tapset functions improved range checking.
    - print_ubacktrace_fileline() works with PIE binaries.
    - Many portability improvements and some fixes in the testsuite.
    - Enhancements for the tcp, nfs, memory tapsets.
  Drop following patches (upstream):
    - bpf-translate.cxx-fix-build-against-upcoming-gcc14.patch
    - get-shm_flag-defines-from-the-appropriate-include-file-for-linux-6.8-kernel.patch
    - pr31288-build-with-gcc14-cont.patch
    - pr31288-build-with-gcc14.patch
    - pr31373-deal-with-the-removal-of-strlcpy-from-linux-6.8.patch
    - staprun-fix-build-against-upcoming-gcc14.patch
    - stapvirt.c-more-gcc-14-werror-calloc-transposed-args-compatibility.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=150
2024-06-17 23:02:55 +00:00
Martin Pluskal
b7c241a997 Accepting request 1157163 from home:pgajdos
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1157163
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=146
2024-03-18 07:39:40 +00:00
Martin Pluskal
e29344c8e4 Accepting request 1135754 from home:sp1rit
Upgrade to version 5.0

OBS-URL: https://build.opensuse.org/request/show/1135754
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=144
2024-01-26 15:07:07 +00:00
Tony Jones
da9aa00c52 Accepting request 1085967 from home:dirkmueller:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/1085967
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=142
2023-05-10 16:07:34 +00:00
ec88825037 Accepting request 1084615 from home:dimstar:Factory
- Add _multibuild to define 2nd spec file as additional flavor.
  Eliminates the need for source package links in OBS.

OBS-URL: https://build.opensuse.org/request/show/1084615
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=140
2023-05-04 11:34:07 +00:00
Tony Jones
18485ffdc4 - Upgrade to version 4.7. See systemtap.spec for changelog
- Upgrade to version 4.7. See systemtap.spec for changelog 

- 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

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=138
2022-09-13 01:07:15 +00:00
Tony Jones
d090c61581 Accepting request 958520 from home:jones_tony:branches:devel:tools
- 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
- 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
- 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

OBS-URL: https://build.opensuse.org/request/show/958520
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=134
2022-03-02 19:46:23 +00:00
Martin Pluskal
814c21c0e0 Accepting request 956363 from home:Andreas_Schwab:Factory
- Handle-user-supplied-sdt-probe-argument-template.patch: Fix glibc build
  failure on s390x

OBS-URL: https://build.opensuse.org/request/show/956363
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=133
2022-03-01 08:07:15 +00:00
Tony Jones
eeabf351d4 Accepting request 954972 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/954972
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=132
2022-02-15 14:47:59 +00:00
Tony Jones
ae65c38712 Accepting request 949540 from home:jones_tony:branches:devel:tools
- Upgrade to version 4.6. See systemtap.spec for changelog
- Upgrade to version 4.6. See systemtap.spec for changelog
- Upgrade to version 4.6. See systemtap.spec for changelog
- Update to version 4.6
  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

OBS-URL: https://build.opensuse.org/request/show/949540
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=130
2022-01-27 23:39:59 +00:00
Tony Jones
0d346a8484 - Adjust stap-server.conf to refer to /run not /var/run (bsc#1185068)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=128
2021-04-28 14:40:26 +00:00
Tony Jones
b9a650135b Accepting request 767822 from home:dimstar:Factory
- Replace libebl-devel BuildRequires with libdw-devel: ebl is
  being absorbed by libdw.


Needed for Staging:B / elfutils update

OBS-URL: https://build.opensuse.org/request/show/767822
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=121
2020-01-28 17:25:01 +00:00
Tony Jones
fc2d5de39b Accepting request 754798 from home:jones_tony:branches:devel:tools
Update to version 4.2

OBS-URL: https://build.opensuse.org/request/show/754798
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=119
2019-12-06 21:00:37 +00:00
Martin Pluskal
d10f34b236 - Do not require exact version of systemtap-dtrace as build
counters are not same for different packages

OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=115
2019-10-14 07:33:31 +00:00
Tony Jones
9dd402c963 Accepting request 734832 from devel:tools
Revert multibuild changes,  rejected in Factory

OBS-URL: https://build.opensuse.org/request/show/734832
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=113
2019-10-03 16:52:33 +00:00
Martin Pluskal
83ebabfad1 Accepting request 731721 from home:mgorse:branches:devel:tools
- Convert to multibuild.
- Move dtrace binary into its own package to allow building glib2
  with systemtap support while avoiding a build cycle
  (bsc#1145438).
- Remove %defattr from %files: no longer needed.

OBS-URL: https://build.opensuse.org/request/show/731721
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=111
2019-09-26 07:51:46 +00:00
Tony Jones
61ea7eb10f Accepting request 723838 from home:jones_tony:branches:devel:tools
Update to v4.1

OBS-URL: https://build.opensuse.org/request/show/723838
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=109
2019-08-15 21:36:03 +00:00
Tony Jones
5be91d74c3 Accepting request 694440 from home:joeyli:branches:devel:tools
Add BuildRequire libavahi-devel, otherwise that the systemstap-server and systemstap client do not work. (bsc#1132538)

OBS-URL: https://build.opensuse.org/request/show/694440
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=107
2019-04-15 16:10:19 +00:00
a08568ce1a Accepting request 670128 from home:dimstar:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/670128
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=105
2019-02-03 18:17:43 +00:00
7475db2cd3 Accepting request 662889 from home:mgorse:branches:devel:tools
- 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).

OBS-URL: https://build.opensuse.org/request/show/662889
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=103
2019-01-09 18:06:29 +00:00
Martin Pluskal
ce0a3f0c47 Accepting request 627384 from home:simson:branches:devel:tools
- 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
- 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
- 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

OBS-URL: https://build.opensuse.org/request/show/627384
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=101
2018-08-16 07:21:58 +00:00
Tony Jones
3983a728fd Accepting request 591169 from home:jones_tony:branches:devel:tools
- GCC 8 fixes (bsc#1084642)
  New patch: systemtap-fixes-for-gcc-8.patch

OBS-URL: https://build.opensuse.org/request/show/591169
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=99
2018-03-26 16:18:28 +00:00
Michael Matz
49da3875a7 Accepting request 578031 from home:matz2:branches:devel:tools
- Add Conflicts with systemtap-sdt-devel, as that one again
  provides the headers as well.

- 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.

OBS-URL: https://build.opensuse.org/request/show/578031
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=97
2018-02-20 12:53:55 +00:00
Michael Matz
13a8210f16 Accepting request 574715 from home:matz2:branches:devel:tools
- 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]


- Created new specfile systemtap-headers.spec, so bootstrap cycles
  packages can use them without blowing up the cycle.
  [fate#324969]

OBS-URL: https://build.opensuse.org/request/show/574715
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=96
2018-02-12 15:44:31 +00:00