TracepointArgs: List Any Linux Tracepoint with Their Arguments, Datatypes and Related Structs - Tanel Poder Blog
This should be something useful for Linux kernel explorers and eBPF nerds!
Last year I released a tool called syscallargs that walked through the Linux /sys/kernel/debug/tracing/events/syscalls directory tree and allowed you to query and list available system calls in your current system from the command line. And it printed out syscall argument names and their datatypes, so it has helped me avoid opening man-pages (or web-pages) a few times.
Later I realized that since many other kinds of kernel events and tracepoints are also presented in the same /sys directory, in the same format as syscall events, we can examine all of them using the same approach. So, I wrote a new, more general tool called tracepointargs and recently uploaded it to my 0x.tools GitHub repo.
- Linux, Oracle, SQL performance tuning and troubleshooting training & writing.
tanelpoder.com