Hmm...interesting guess. I made this change, declaring all functions as non static and the trace worked on then. Sweet! What made me get confused is that before this change, some of the functions traced correctly with ftrace were static. On Mon, Feb 21, 2011 at 2:29 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com> wrote:
On Mon, Feb 21, 2011 at 20:34, Erlon Cruz <sombrafam@gmail.com> 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?
wild guess, because they are either static or inlined or both?
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com