11 karma · joined Nov 19, 2020 (6y ago) · 2 submissions
comment 6y ago · link · parent
Check out https://github.com/iovisor/bpftrace and the example tools/ for a taste. You'll likely want to play with kprobes/kretprobes.
http://ebpf.io for some more insights.
At the very least, it'll provide some useful tooling for you to debug problems in kernel-space.