Commit Graph

2 Commits (e90de090ac481eeeea3e18736517469b7915e36c)

Author SHA1 Message Date
Michal Rostecki e90de090ac ebpf, tool: Don't use aya-bpf-cty
It's not needed anymore, all C types we need are in `core::ffi`.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
Michal Rostecki 7e2fcd1d6d Support for fentry and fexit programs
fentry and fexit programs are similar to kprobe and kretprobe, but they
are newer and they have practically zero overhead to call before or
after kernel function. Also, fexit programs are focused on access to
arguments rather than the return value.

Those kind of programs were introduced in the following patchset:

https://lwn.net/Articles/804112/

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
4 years ago