Re: [PATCH 1/2] tracing/ftrace: don't trace on early stage ofsecondary cpu boot

From: Steven Rostedt
Date: Tue Dec 23 2008 - 22:34:04 EST



On Wed, 24 Dec 2008, Fr?d?ric Weisbecker wrote:
>
>
> I first thought about annotate those first functions with "notrace".
> But the code inside
> cpu_init/pda_init could change later and call external/traced function.

We could also hit it with the CFLAGS_REMOVE_common.o = -pg hammer.
Those functions will not change much, and I doubt they will call other
functions for the same reason that we can not call them. A simple
preempt_disable here will crash the box.

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