gobpf icon indicating copy to clipboard operation
gobpf copied to clipboard

Add syscall prefix / function name helper pkg?

Open schu opened this issue 8 years ago • 2 comments

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

schu avatar Apr 25 '18 10:04 schu

This is much needed. How one should cope with elf objects where SEC is utilized to designate the syscall name where kprobe is attached?

rabbitstack avatar Sep 06 '18 17:09 rabbitstack

I added that api in #134. I guess this can be closed, right?

calavera avatar Sep 28 '18 18:09 calavera