Getting System Tap up and running on F38 has involved chasing down a few modules.
I am running on
uname -a
Linux hackery 6.2.15-300.fc38.aarch64+debug #1 SMP PREEMPT_DYNAMIC Thu May 11 16:10:31 UTC 2023 aarch64 GNU/Linux
I had to get the kernel-debug-devel package in in order to get the files under /usr/src/kernels/6.2.15-300.fc38.aarch64+debug/. Running stap looks for a file in /lib/modules/6.2.15-300.fc38.aarch64+debug/build which is a symlink to this directory.
sudo yum install kernel-debug-devel kernel-debug-modules kernel-debuginfo kernel-debug-core kernel-devel kernel-devel
With that installed I can run the command:
stap --dump-probe-types
I knew that things were OK once I could get the stap-prep command to to work. That involved getting the debug Kernel running and the appropriate other RPMS. As of now I am running This version of the Linux Kernel from the Fedora RPMs 6.2.15-300.fc38.aarch64+debug.
The funny thing is that I ended up not using System Tap after all this, but I wanted to record the thing I learned.