Get the latest tech news
List Any Linux Tracepoint with Their Arguments, Datatypes and Related Structs
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. - Linux, Oracle, SQL performance tuning and troubleshooting - consulting & training.
It also has a major improvement, it can access and expand Linux struct layouts of any kernel structures referenced by the tracepoint API. It won’t do any actual tracing for you, but if you find yourself constantly searching through the kernel source files to see how some tracepoint’s metadata is laid out, it can help. (In the future I might bundle a bunch of such header files for common kernel versions and platforms in this repo in advance, but I’m not focusing on that right now).
Or read this on Hacker News