This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Help with a common FAQ...
- From: Steve Glass <stevie dot glass at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 12 May 2016 09:08:15 +1000
- Subject: Help with a common FAQ...
- Authentication-results: sourceware.org; auth=none
I'm experiencing the "missing kernel debuginfo" problem that's
mentioned in the FAQ. I'm running on Red Hat and have installed the
debugsyms packages. I can see a heap of probes/functions some of the
syscalls and some of the signal tapset probes have issues finding the
relevant kernel symbol.
For example. signal.send resolves fine but signal.send_sig_queue fails
to compile with this:
semantic error: while resolving probe point: identifier 'kernel' at
/opt/rh/devtoolset-3/root/usr/share/systemtap/tapset/linux/signal.stp:562:9
source: kernel.function("send_sigqueue"),
^
semantic error: missing x86_64 kernel/module debuginfo [man
warning::debuginfo] under
'/lib/modules/2.6.32-504.3.3.el6.x86_64/build'
semantic error: while resolving probe point: identifier 'signal' at
app_crash.stp:17:7
source: probe signal.send_sig_queue {
^
Exactly what file contains the DWARF debug symbols for the kernel - my
/boot contains a vmlinuz-${VERSION} and I've extracted
vmlinuz-${VERSION} but that didn't help any. All packages are the
versions from the RH repository - no custom kernel or anything very
weird.
ATB