lkml.org 
[lkml]   [2008]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-12-24 04:53    [W:0.201 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site