Re: ftraced and suspend to ram

From: Steven Rostedt
Date: Fri Aug 22 2008 - 16:34:15 EST



On Fri, 22 Aug 2008, Pavel Machek wrote:
>
> Does ftrace hook itself onto _all_ the functions? Or all .c functions?

It hooks into all .c functions that are not annotated with "notrace"
or the files have not been marked in the Makefile like:

CFLAGS_REMOVE_<file>.o = -pg


>
> I guess low-level suspend code needs to be exempt from
> tracing. Certainly all the assembly functions.

I'm looking into that now too. Are the functions in arch/x86/power/cpu*.c
the suspend to ram code?

Thanks,

-- Steve

--
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/