From da9aa00c52b090442f7eee0e10370d7741d6019691630500f9ceaee1a34ba975 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Wed, 10 May 2023 16:07:34 +0000 Subject: [PATCH] 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 --- systemtap-4.7.tar.gz | 3 --- systemtap-4.7.tar.gz.sig | Bin 310 -> 0 bytes systemtap-4.9.tar.gz | 3 +++ systemtap-4.9.tar.gz.asc | 11 ++++++++++ systemtap-docs.spec | 5 +++-- systemtap-dtrace.spec | 4 ++-- systemtap-headers.spec | 4 ++-- systemtap.changes | 42 +++++++++++++++++++++++++++++++++++++++ systemtap.spec | 12 +++++------ 9 files changed, 69 insertions(+), 15 deletions(-) delete mode 100644 systemtap-4.7.tar.gz delete mode 100644 systemtap-4.7.tar.gz.sig create mode 100644 systemtap-4.9.tar.gz create mode 100644 systemtap-4.9.tar.gz.asc diff --git a/systemtap-4.7.tar.gz b/systemtap-4.7.tar.gz deleted file mode 100644 index 18d8c89..0000000 --- a/systemtap-4.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:43a0a3db91aa4d41e28015b39a65e62059551f3cc7377ebf3a3a5ca7339e7b1f -size 5611495 diff --git a/systemtap-4.7.tar.gz.sig b/systemtap-4.7.tar.gz.sig deleted file mode 100644 index fb4adf18b6a1ffeefe96ff850d1864c6d8c5f32e6f6b3330ffe85715d422014c..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*(I1z88)2GaL<9O44gJA(C+`{Mu0%C9Sod6065PpMU z0VdqS=v&bxN2 z6q@l#oW&|T>73cHuyf7d1|Ig09}s?T^#n^{GAN2=6hoR?W3aL{HwC}v0n7ocmWyXV zP(hHt1qJ`7$FwG7(IZW8T*V(mB8Ksm0WH-`jFqmaY7)!M!^c?^B-Gf@iz`^XqF(oA zn%&N3hzH8T(PAbUC*U3vpG?kdKcdewf`qQG4oiPhD-djD)zsZ-xt*3nBus;Ik{6Bd zolf_=3t^hR<(AM`U7hTUZ;b)1cj)SDpjrK-ThQK7s@hfJD1& Ir;!+FP$=Axr~m)} diff --git a/systemtap-4.9.tar.gz b/systemtap-4.9.tar.gz new file mode 100644 index 0000000..7a95bc5 --- /dev/null +++ b/systemtap-4.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d01033baea9d0af52a65e70167816931f4b856427a53ff2ab30e4b45f6ad3a98 +size 6684228 diff --git a/systemtap-4.9.tar.gz.asc b/systemtap-4.9.tar.gz.asc new file mode 100644 index 0000000..1ff5814 --- /dev/null +++ b/systemtap-4.9.tar.gz.asc @@ -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----- diff --git a/systemtap-docs.spec b/systemtap-docs.spec index 2b24c2c..b60c9b5 100644 --- a/systemtap-docs.spec +++ b/systemtap-docs.spec @@ -17,20 +17,21 @@ Name: systemtap-docs -Version: 4.7 +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.sig +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++ diff --git a/systemtap-dtrace.spec b/systemtap-dtrace.spec index d053cfe..46fff1a 100644 --- a/systemtap-dtrace.spec +++ b/systemtap-dtrace.spec @@ -20,14 +20,14 @@ %define _rundir %{_localstatedir}/run %endif Name: systemtap-dtrace -Version: 4.7 +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.sig +Source1: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc Source2: systemtap.keyring Source3: README-BEFORE-ADDING-PATCHES Source4: README-KEYRING diff --git a/systemtap-headers.spec b/systemtap-headers.spec index 24b34c0..3c0446a 100644 --- a/systemtap-headers.spec +++ b/systemtap-headers.spec @@ -24,14 +24,14 @@ %define _rundir %{_localstatedir}/run %endif Name: systemtap-headers -Version: 4.7 +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.sig +Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc Source2: systemtap.keyring Source3: README-BEFORE-ADDING-PATCHES Source4: README-KEYRING diff --git a/systemtap.changes b/systemtap.changes index 0a823ff..ca2f249 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Wed May 10 06:00:27 UTC 2023 - Dirk Müller + +- 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 diff --git a/systemtap.spec b/systemtap.spec index 71f6ed4..655ffc1 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -20,14 +20,14 @@ %define _rundir %{_localstatedir}/run %endif Name: systemtap -Version: 4.7 +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.sig +Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc Source2: %{name}.keyring Source3: README-BEFORE-ADDING-PATCHES Source4: README-KEYRING @@ -46,6 +46,7 @@ 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} @@ -130,19 +131,20 @@ install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir} %tmpfiles_create %{_tmpfilesdir}/stap-server.conf %files -%defattr(-,root,root) %{_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 -%defattr(-,root,root) %doc %{_docdir}/systemtap %{_bindir}/staprun %{_bindir}/stapsh @@ -161,7 +163,6 @@ install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir} %{_mandir}/man8/stapbpf.8* %files server -%defattr(-,root,root) %dir %{_tmpfilesdir} %{_tmpfilesdir}/stap-server.conf %{_bindir}/stap-server @@ -176,7 +177,6 @@ install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir} %ghost %dir %{_rundir}/stap-server %files sdt-devel -%defattr(-,root,root) %{_includedir}/sys/*.h %changelog