Re: [PATCH -v4 9/9] tracing: add function graph tracer support forMIPS
From: Steven Rostedt
Date: Thu Oct 22 2009 - 14:00:37 EST
On Thu, 2009-10-22 at 09:16 -0700, David Daney wrote:
> Steven Rostedt wrote:
> > Functions that run off into another function?? I guess the compiler
> > could do that, but with -pg enable, I would think is broken.
> >
>
> Use of GCC-4.5's __builtin_unreachable() can lead to this, as well as
> functions that call noreturn functions.
But still. Should that unreachable code have a "save ra to stack"? If
not, this method is still safe.
-- Steve
--
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/