Re: [PATCH][GIT PULL] powerpc64/tracing: Add frame buffer to callsof trace_hardirqs_on/off

From: Benjamin Herrenschmidt
Date: Mon Dec 27 2010 - 16:39:16 EST


On Sat, 2010-12-25 at 16:04 -0500, Steven Rostedt wrote:
>
> Note, when CONFIG_IRQSOFF_TRACE is set, there's already a bit of
> overhead :-)
>
> Anyway, I'll have to take a look at how the frame pointer is set up.
> Or
> we could also set up all stacks coming into the kernel to have a
> "dummy"
> frame pointer that wont hurt anything if we index into it.
>
> Anyway, I'm off till the new year, so I'll worry about it then ;-)

Right, might be simpler to just make them loop back onto themselves or
something like that. I can have a look too if I get a chance.

Cheers,
Ben.

--
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/