gdbstub initial code, v7
Oleg Nesterov
oleg at redhat.com
Fri Sep 3 22:57:38 UTC 2010
On 09/03, Frank Ch. Eigler wrote:
>
> Oleg Nesterov <oleg at redhat.com> 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.
CONFIG_KPROBE ;)
But anyway I agree, systemtap is the great tool.
Oleg.
More information about the utrace-devel
mailing list