Re:GDB Frontend with C Pointer Visualization
by ktm5j on Monday February 17, 2020 @10:06AM
(#22348150)
You could, but eBPF might be a more sensible way to get the same information: http://www.brendangregg.com/ebpf.html
[ Parent
| on HN ]
Re:GDB Frontend with C Pointer Visualization
by cryptonector on Monday February 17, 2020 @10:35AM
(#22348377)
That's comparable to DTrace. The Solaris kernel debugger, kmdb, is something else, and really worth knowing (if only it was universally adopted by C-coded kernels!).
With kmdb you get to write shell-like pipelines using powerful data structure traversal builtins, and it is safe (you can't crash the system by dereferencing NULL pointers). Really, it's quite fantastic.