This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
How to track the functions in self-written module using SystemTap?
- From: Nan Xiao <xiaonan830818 at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 17 Nov 2015 15:14:38 +0800
- Subject: How to track the functions in self-written module using SystemTap?
- Authentication-results: sourceware.org; auth=none
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