On Wed, Jun 9, 2010 at 11:02 AM, Ryan Wang <openspace.wang@xxxxxxxxx> wrote:
Lets say you want to know what ext2/ext3/ext4 functions are called when you run mkdir command on ext2/ext3/ext4 mounted filesystem. Then you can trace each kernel function with ftrace.
Articles on ftrace:-
http://lwn.net/Articles/365835/
http://lwn.net/Articles/366796/
With kdump you get memory dump of currently running kernel and then you debug it.
kdb will help you to debug the currently running kernel.
I hope this clears some of your doubts.
Regards,
Neependra
I really want to know is the differences between ftrace and other kernel debug
tools such as kdump, kdb, etc.
Lets say you want to know what ext2/ext3/ext4 functions are called when you run mkdir command on ext2/ext3/ext4 mounted filesystem. Then you can trace each kernel function with ftrace.
Articles on ftrace:-
http://lwn.net/Articles/365835/
http://lwn.net/Articles/366796/
With kdump you get memory dump of currently running kernel and then you debug it.
kdb will help you to debug the currently running kernel.
I hope this clears some of your doubts.
Regards,
Neependra
thanks!
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ