]> sourceware.org Git - systemtap.git/commit
Allow multiple architecture syscall_num.stp files to be used by bpf backend
authorWilliam Cohen <wcohen@redhat.com>
Mon, 11 Oct 2021 20:17:41 +0000 (16:17 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 11 Oct 2021 21:01:55 +0000 (17:01 -0400)
commitf11ce03150331fa478675ad067568ab27ab1712f
tree953c0a9729a01f03b62123eaa4bea33f489de695
parent5ba1af571337289a5941a1384b7d14b06b2ddac5
Allow multiple architecture syscall_num.stp files to be used by bpf backend

Systemtap's BPF still has the concept of target architecture and isn't
write once run anywhere for BPF code.  Thus, to make the syscall_any
tapset work the tapset needs to have all the different architecture
initialization code available and select the appropriate one based on
the architecture.  Thus, each syscalls_num.stp file has preprocessing
guards to make them empty unless the architecture matches.
scripts/dump-syscalls.sh
This page took 0.02388 seconds and 5 git commands to generate.