This is the mail archive of the
mailing list for the Archer project.
Re: gdbstub initial code, v7
On 09/03, Frank Ch. Eigler wrote:
> Oleg Nesterov <firstname.lastname@example.org> writes:
> > [...] To the point, I had to add printk's to utrace.c to understand
> > what is wrong. Hopefully tomorrow.
> You might wish to try out systemtap for such purposes. It's easy to
> insert printk-like tracing at almost any point; monitor variables for
> changes, pretty-print structs, etc.
Probably I should try the new versions...
Last time I tried systemtap more than year ago. It didn't work for me
without the "properly installed" kernel/etc which I don't have. And,
I doubt I can insert the probe at the needed line without DEBUG_INFO.
> No recompilation/reboot.
But anyway I agree, systemtap is the great tool.