Hi..

>           Is there any too (like strace) to trace the flow of calls into the
> kernel. It would be immensely useful if there is any such function like
> that.
> Please let me know if there is such tool if any ??

None that I know. But I usually do this as workaround: by using qemu.
Start qemu and activate its gdb server. before that, prepare a kernel
image that is compiled with debug info included and frame pointer
included.

Then start qemu with this kernel. Start another console/xterm/whatever
and execute gdb. Give the path to kernel image so it acts as symbol
file. Then tell gdb to connect to qemu's gdb port. put a breakpoint in
a function and do "bt". You may need to apply non mainline qemu
patches to make it run "linearly" to make debugging easier.

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to