Re: [PATCH 0/2] ftrace: updates to tip

From: Steven Rostedt
Date: Fri Jan 16 2009 - 10:54:25 EST



On Fri, 16 Jan 2009, Ingo Molnar wrote:
> >
> > But I do notice that not all functions produce a valid stack trace.
> > Maybe it would be better to add that api :-?
>
> yes - i think that API would be more intuitive, and that way people could
> mix more interesting functions (with stack traces) with less important
> functions (no stack traces).

Ah, that's the point. We can't mix and match on these. Either all
functions that are traced do the stack trace, or none do. This is where
the new api may be confusing. We can register a function to be traced via
the function pointer, and we can pick which functions to trace, but we can
not separate out different functions for different traces.

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