Messages in this thread | | | Subject | Re: Ftracing in linux kernel | From | Steven Rostedt <> | Date | Fri, 25 Feb 2011 14:34:03 -0500 |
| |
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
| |