Re: [PATCH 2/8] tracing: create automated trace defines

Andi Kleen
2009-04-21T20:28:47Z

> It is needed for the function tracer (gcc -pg wont work without it). It is
> the only tracer that selects it.

FWIW i still have gcc patches to fix that. They were first stalled
on copyright assignment and then on gcc's merge window being closed,
but now with 4.5 open for game I hope to resubmit them soon
again.

With that you can use -pg without frame pointer, but you have
to supply a special mcount function that expects the different
stack layout.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.