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

From: Steven Rostedt
Date: Tue Apr 21 2009 - 13:22:09 EST




On Tue, 21 Apr 2009, Jeremy Fitzhardinge wrote:

> Mathieu Desnoyers wrote:
> > * Andi Kleen (andi@xxxxxxxxxxxxxx) wrote:
> >
> > > Mathieu Desnoyers <compudj@xxxxxxxxxxxxxxxxxx> 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

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