How to track the functions in self-written module using SystemTap?

Nan Xiao xiaonan830818@gmail.com
Tue Nov 17 07:14:00 GMT 2015


Hi all,

I build a simple Linux module
(https://github.com/troydhanson/kernel/blob/master/105.ops/kex.c),
and want to use SystemTap to track it.

But I find there is no available probes:
# stap -l 'module("kex").function("*")'
#

How can I track the functions in module written by myself? Is there
any tutorial about this? I try to
search on https://sourceware.org/systemtap/documentation.html, but
can't find wanted content.

Thanks!

Best Regards
Nan Xiao



More information about the Systemtap mailing list