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

Steven Rostedt
2009-04-21T17:22:08Z

On Tue, 21 Apr 2009, Jeremy Fitzhardinge wrote:

> Mathieu Desnoyers wrote:
> > * Andi Kleen (andi@firstfloor.org) wrote:
> >
> > > Mathieu Desnoyers <compudj@krystal.dyndns.org> writes:
> > >
> > >
> > > > Given how slow function calls are, at least on x86,
> > > >
> > > That was with frame pointers right? Frame pointers tend to make
> > > function calls slow.
> > >
> > >
> >
> > Looking at my .config, CONFIG_FRAME_POINTER is disabled here. So we
> > should probably expect an even worse performance impact if we enable
> > them.
>
> I tried disabling frame pointers, but it looked to me like tracing selects
> them. Did I misread, or perhaps it was some other config option doing it...

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

-- Steve