gobpf
gobpf copied to clipboard
Add syscall prefix / function name helper pkg?
With Linux v4.17, the "syscall stub naming convention" changes. Users who want to e.g. attach a kprobe to an open syscall need to use a different name depending on the kernel version.
Corresponding bcc pull request: https://github.com/iovisor/bcc/pull/1703
This is much needed. How one should cope with elf objects where SEC is utilized to designate the syscall name where kprobe is attached?
I added that api in #134. I guess this can be closed, right?