Re: [patch 03/11] blackfin/irqs: Do not trace arch_local_{*,irq_*} functions

From: Mike Frysinger
Date: Tue Jul 05 2011 - 12:20:45 EST


On Tue, Jul 5, 2011 at 08:51, Steven Rostedt wrote:
> On Sat, 2011-07-02 at 12:40 -0400, Mike Frysinger wrote:
>> On Fri, Jul 1, 2011 at 23:04, Steven Rostedt wrote:
>> > 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.
>>
>> Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
>
> Thanks! Are you going to pull it into the blackfin tree? It's not
> dependent on any other patch.

in that case, i'll merge it
-mike
--
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/