lkml.org 
[lkml]   [2011]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch 11/11] sparc/irqs: Do not trace arch_local_{*,irq_*} functions
From
From: Steven Rostedt <rostedt@goodmis.org>
Date: Fri, 01 Jul 2011 23:04:46 -0400

> From: Steven Rostedt <srostedt@redhat.com>
>
> Do not trace arch_local_save_flags(), arch_local_irq_*() and friends.
> Although they are marked inline, gcc may still make a function out of
> them and add it to the pool of functions that are traced by the function
> tracer. This can cause undesirable results (kernel panic, triple faults,
> etc).
>
> Add the notrace notation to prevent them from ever being traced.
>
> Cc: "David S. Miller" <davem@davemloft.net>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Acked-by: David S. Miller <davem@davemloft.net>


\
 
 \ /
  Last update: 2011-07-02 06:17    [from the cache]
©2003-2011 Jasper Spaans