HNHacker News
TopNewBestAskShowJobs

warybeary

11 karma · joined November 19, 2020

submissionscomments
warybeary··on My First Kernel Module: A Debugging Nightmare
Yes (to a degree) :)

Check out https://github.com/iovisor/bpftrace and the example tools/ for a taste. You'll likely want to play with kprobes/kretprobes.

warybeary··on My First Kernel Module: A Debugging Nightmare
Have you looked into using eBPF instead of writing a kernel module?

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.