From 1be743e94d919e139a468a93dc0d2fab2cbed04c Mon Sep 17 00:00:00 2001 From: srinivasa Date: Mon, 18 Feb 2008 10:56:00 +0000 Subject: Frequently Asked questions for SystemTap. --- FAQ | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 FAQ diff --git a/FAQ b/FAQ new file mode 100644 index 00000000..d0347202 --- /dev/null +++ b/FAQ @@ -0,0 +1,137 @@ +1) I have installed SystemTap but am getting a "semantic error: libdwfl +failure (missing kernel debuginfo): No such file or directory", when I +try to run a script. What am I missing? How do I fix it? + +This error message is related to the processing of debug-information. It +may simply be missing, or may have some consistency/correctness problems. +So please make sure that kernel-debuginfo rpm is installed in your system +or in case of custom built kernels, your kernel is compiled with debug +options(ref Q.2). Please refer this link +http://sources.redhat.com/systemtap/tutorial/node27.html + +Common error messages that one may encounter while using SystemTap along +with possible reasons for them, are listed at +http://sources.redhat.com/systemtap/tutorial/node23.html and +http://sources.redhat.com/systemtap/tutorial/node27.html + +2) What config options need to be enabled to be able to use SystemTap on +custom built kernels? + +Look at http://sources.redhat.com/systemtap/wiki/SystemTapWithSelfBuiltKernel +for the specific config options to be enabled for SystemTap. + +3) I have a kernel built with options listed in (2), but still can't get +SystemTap to work. What am I missing? + +See Q2. Also, if you've used 'make install' to install your custom built kernel, +it may not have copied the uncompressed 'vmlinux' to /boot/vmlinux-'uname-r' + +4) Is it possible for me to view the kernel module generated by SystemTap? + +You can specify -p3 to look at the kernel module code translated by SystemTap. +stap -p3