Hacker News new | past | comments | ask | show | jobs | submit login
List Any Linux Tracepoint with Their Arguments, Datatypes and Related Structs (tanelpoder.com)
40 points by tanelpoder 8 days ago | hide | past | favorite | 5 comments





I've been using bpftrace -lv to examine available trace points. But the bpftrace output won't show you the complex types definitions and this tool can do it. Great work!

Very handy tool! I love eBPF, but playing with it you quickly get into cryptic kernel internals territory. Tools like this are a great way to smooth out the experience. Well done!

In fairness that is also one of the awesome things about eBPF. My overall comprehension of the kernel has risen dramatically since I started using it.

Definitely agree. As I've looked into instrumentation/tracing, it has helped me more fearlessly look at the kernel. Ftrace is another tool that's helped me level up as well (https://blog.px.dev/ebpf-probes-and-you/)

Yeah, ftrace is great and the trace-cmd frontend too. Another swiss-army-knife type of a tool, like perf... and is also available in older kernels.

One thing that I had missed was function call argument tracing, but looks like ftrace will soon have it too (update: it's actually available on modern kernels already, look for CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS kernel config option).

https://lwn.net/Articles/1003386/

https://lpc.events/event/11/contributions/1106/attachments/7...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: