Messages in this thread | | | Date | Wed, 24 Dec 2008 04:51:04 +0100 | From | "Frédéric Weisbecker" <> | Subject | Re: [PATCH 1/2] tracing/ftrace: don't trace on early stage of secondary cpu boot |
| |
2008/12/24 Steven Rostedt <rostedt@goodmis.org>: > > 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
Ok, I will try with this solution.
Thanks.
| |