This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
SystemTap questions: user/kernel communication & pass compiilation options to module build
- From: Dave Nomura <dcnltc at us dot ibm dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 25 Apr 2007 16:12:19 -0700
- Subject: SystemTap questions: user/kernel communication & pass compiilation options to module build
- Organization: LTC Power Linux Toolchain
- Reply-to: dcnltc at us dot ibm dot com
I have a few general questions about SystemTap
1. is there any SystemTap mechanism that would allow a user program
(invoked by the -c SystemTap option) to communicate with the generated
SystemTap kernel module? I am trying to port a kernel module to use
SystemTap and it creates a character device that the user program can
use to communicate to the kernel module via ioctls.
2. is there any way to pass options to the compilation of the SystemTap
generated module code? I was thinking that this would allow me to pass
a library of kernel driver support routines that might otherwise live in
SystemTaps runtimes/ directory. Another use might be to pass -D define
options.