[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c62985530812231951p4a943007j6d4a8632ee241921@mail.gmail.com>
Date: Wed, 24 Dec 2008 04:51:04 +0100
From: "Frédéric Weisbecker" <fweisbec@...il.com>
To: "Steven Rostedt" <rostedt@...dmis.org>
Cc: "Ingo Molnar" <mingo@...e.hu>,
"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] tracing/ftrace: don't trace on early stage of secondary cpu boot
2008/12/24 Steven Rostedt <rostedt@...dmis.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists