lkml.org 
[lkml]   [2011]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Ftracing in linux kernel
From
Date
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




\
 
 \ /
  Last update: 2011-02-25 20:37    [W:0.030 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site