Re: When and how to use ftrace?

From: Ryan Wang
Date: Wed Jun 09 2010 - 01:32:31 EST


2010/6/9 Steven Rostedt <srostedt@xxxxxxxxxx>:
> On Wed, 2010-06-09 at 09:38 +0800, Ryan Wang wrote:
>> Hi all,
>>
>>        I'm new to kernel development, and I'm learning
>> ftrace recently. I have one question:
>>        When to use ftrace, or in which cases ftrace can be
>> more efficient?
>
> I can't really answer these questions without knowing what you want to
> do?
>
> ftrace allows you to see what is happening inside the kernel. What would
> you like to see?
>
> -- Steve
>
>
>

I really want to know is the differences between ftrace and other kernel debug
tools such as kdump, kdb, etc.

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