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

From: Andi Kleen
Date: Tue Apr 21 2009 - 16:28:49 EST


> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/