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

From: Ingo Molnar
Date: Fri Jan 16 2009 - 11:03:36 EST

* Ingo Molnar <mingo@xxxxxxx> wrote:

> > [...] 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.
> Why not? We could have a hash of all traced functions with metadata
> attached. Since patching functions in/out would be a relatively rare
> operation, this would be a highly efficient read-mostly hash.

We could build that hash when registering the tracer. Via recordmcount we
have advance knowledge of all the functions that may be traced.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at