Re: Ftracing in linux kernel

From: Steven Rostedt
Date: Fri Feb 25 2011 - 14:34:12 EST

On Mon, 2011-02-21 at 11:21 -0300, Erlon Cruz wrote:
> Hi folks,
> I've configured my kernel(2.6.35) to support ftrace*. Everything
> seems to be ok. After I mounted the debugfs folder I can find all
> tracing stuffs there. The problem is not of all functions on my module
> seems to be listed in the funtions supported for tracing. In the file
> available_filter_functions that suppose to list all functions traced,
> only show 4 or 5 functions of my module. Does anyone knows why some
> functions are not listed?

Are those functions inlined? If gcc inlines a function (regardless if
you say to or not) it will not be traced. If you want to trace them just
force them to not inline with "noinline".

-- 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
Please read the FAQ at