lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimkJjZ32kIl4rjikZqBrFCFPw0zCS7b9uh6gO2V@mail.gmail.com>
Date:	Wed, 9 Jun 2010 16:14:42 +0800
From:	Ryan Wang <openspace.wang@...il.com>
To:	Neependra Khare <neependra.khare@...il.com>
Cc:	Steven Rostedt <srostedt@...hat.com>, linux-kernel@...r.kernel.org,
	kernelnewbies@...linux.org
Subject: Re: When and how to use ftrace?

2010/6/9 Neependra Khare <neependra.khare@...il.com>:
>
>
> On Wed, Jun 9, 2010 at 11:02 AM, Ryan Wang <openspace.wang@...il.com> wrote:
>>
>> 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@...linux.org
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>
>

Seems ftrace is helpful to study the activities inside the kernel to me.
I wonder whether it can be useful to debug kernel bugs. And if so, will
you please give me some examples? Or so far it's mainly used for
observing the running status of kernel?

thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ