* Re: Ftracing in linux kernel
[not found] <AANLkTinDf2odDs2a9Wc0d4T8hxV6sj5GmgOs_p_3VHQP@mail.gmail.com>
@ 2011-02-21 14:21 ` Erlon Cruz
2011-02-25 19:34 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Erlon Cruz @ 2011-02-21 14:21 UTC (permalink / raw)
To: linux-kernel
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?
Regards,
Erlon
*CONFIG_FUNCTION_TRACER
CONFIG_FUNCTION_GRAPH_TRACER
CONFIG_STACK_TRACER
CONFIG_DYNAMIC_FTRACE
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Ftracing in linux kernel
2011-02-21 14:21 ` Ftracing in linux kernel Erlon Cruz
@ 2011-02-25 19:34 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2011-02-25 19:34 UTC (permalink / raw)
To: Erlon Cruz; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-25 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <AANLkTinDf2odDs2a9Wc0d4T8hxV6sj5GmgOs_p_3VHQP@mail.gmail.com>
2011-02-21 14:21 ` Ftracing in linux kernel Erlon Cruz
2011-02-25 19:34 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®