Re: Some FTRACE related question

From: Rafael J. Wysocki
Date: Sat Nov 22 2008 - 07:59:48 EST


On Saturday, 22 of November 2008, Peter Teoh wrote:
> Q1: how to use ftrace to ftrace itself? (i would like to see some
> ftrace-triggered flow) In view of the following patch:
>
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-11/msg03745.html
>
> Is it to prevent this from being possible?

I can't really answer this, sorry.

> Q2: how to ftrace s2ram and resume? I attempted to do it, but the
> trace output is always filled with "resume" related functions when it
> started up, which is only logical.

The tracing is disabled during suspend/resume, so you can't.

Thanks,
Rafael
--
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/