systemtap:wcohen/nfs202404

Last commit made on 2024-04-17
Get this branch:
git clone -b wcohen/nfs202404 https://git.launchpad.net/systemtap

Branch merges

Branch information

Name:
wcohen/nfs202404
Repository:
lp:systemtap

Recent commits

f6556bd... by William Cohen

Make probing NFSD V2 probe points optional in buildok/nfsd-detailed.stp test

Newer kernels have removed NFSD V2 suport (CONFIG_NFSD_V2 is not set).
The nfsd.proc2.* probes need to be made optional as those probe
points are not available.

a6d7e3c... by William Cohen

Update nfs-detailed.stp to test NFS folio support and various kernels

d425b42... by William Cohen

Update the nfs.stp tapset for NFS folio support

The addition of folio support to NFS in the Linux kernel has changed
some of the functions that are available for NFS operations. Probes
for those new functions (nfs_read_folio and nfs_readahead) were added.
The nfs tapset has to be a bit more flexible in which functions are
available and the probes are optional to allow wildcards to continue
to work. The way count were obtained for nfs.fop.read_iter and
nfs.fop.write operations were also updated.

Newer Linux kernel change the

3939c47... by William Cohen

Avoid redefinition of S390 PSW_ADDR_AMODE and PSW_ADDR_INSN in newer kernels

Only define PSW_ADDR_AMODE and PSW_ADDR_INSN if they are undefined.
The following Linux kernel git commit (b8af5999779d1) moved the definition of
PSW_ADDR_AMODE and PSW_ADDR_INSN from arch/s390/include/uapi/asm/ptrace.h
to arch/s390/include/asm/ptrace.h causing an error as both runtime/regs.h and
arch/s390/include/asm/ptrace.h headers were defining them:

Author: Heiko Carstens <email address hidden> 2023-06-21 07:35:43
Committer: Alexander Gordeev <email address hidden> 2023-07-03 05:19:39
Parent: 6376402841e1fa6f1c5b7604abc9c746a84c715a (s390/ptrace: remove PSW_DEFAULT_KEY from uapi)
Child: b378a982614360686f45c3e6b63fd5d1acd02d08 (s390: include linux/io.h instead of asm/io.h)
Branches: master, remotes/origin/master
Follows: v6.4
Precedes: v6.5-rc1

    s390/ptrace: make all psw related defines also available for asm

    Use the _AC() macro to make all psw related defines also available for
    assembler files.

    Acked-by: Alexander Gordeev <email address hidden>
    Signed-off-by: Heiko Carstens <email address hidden>
    Signed-off-by: Alexander Gordeev <email address hidden>

4c6771b... by Tim Haines

configury: git_version.sh typo fixes

Error detection was looking for wrong shell variable names.

83ea7cb... by William Cohen

Update nfsd.stp tapset to work with Linux 6.1 and newer kernels

The kernel git commit 0cfb0c4228a5c8e2 uses the
DEFINE_PROC_SHOW_ATTRIBUTE macro which creates another function
nfsd_open() in fs/nfsd/stats.c in addition to nfsd_open() in
fs/nfsd/vfs.c. This new function has a completely different purpose
and different set of arguments than the original. When the nfsd.stp
tapset tries to instrument this new nfsd_open() it cannot find the
expected arguments. Systemtap scripts probing the nfsd_open()
function such as the nfsd-recent.stp example failed to build as a
result. The tapset now restricts the probing to
nfsd_open@fs/nfsd/vfs.c, the original nfsd_open() function.

3fe4124... by William Cohen

Update memory.stp tapset to allow the vm.tracepoints.stp example to work

Due to kernel git commits 71baba4b92dc1 (renaming __GFP_WAIT to
__GFP_RECLAIM) and 2c1d697fb8ba6 (changing the kmem_cache_alloc
tracepoint arguments) the memory.stp tapset needed some adjustments to
enable the SystemTap tracepoints.stp example to continue to work with
newer kernels.

8053d95... by Frank Ch. Eigler

PR31368: more configury for !HAVE_DEBUGINFOD cases

One more setupdwfl.cxx code needed the #if conditionals to
compile on hosts without debuginfod.h .

3ab638c... by Frank Ch. Eigler

PR31368: more configury for !HAVE_DEBUGINFOD cases

Some more setupdwfl.cxx code needed the #if conditionals to
compile on hosts without debuginfod.h .

2b00924... by Frank Ch. Eigler

setupdwfl.cxx: add debuginfod.h #ifdef guards