[Bug runtime/17696] New: Systemtap fails to find kernel tracepoints when kernel is built in a separate directory from source tree
zhuo at bitoasis dot com
sourceware-bugzilla@sourceware.org
Thu Dec 11 02:58:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=17696
Bug ID: 17696
Summary: Systemtap fails to find kernel tracepoints when kernel
is built in a separate directory from source tree
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: zhuo at bitoasis dot com
* A:
When kernel is built in a separate directory from the kernel source tree:
1) before building:
export BUILDDIR=/a/separate/path/
export KBUILD_OUTPUT=${BUILDDIR}/build
2) after building and installing:
/lib/modules/`uname -r`/build links to /a/separate/path/
/lib/modules/`uname -r`/source links to /kernel/source/tree/
Under this situation, stap -L 'kernel.trace("*")' lists nothing.
* B:
When kernel is built directly in kernel source tree directory,
/lib/modules/`uname -r`/build links to /kernel/source/tree/
/lib/modules/`uname -r`/source links to /kernel/source/tree/
Under this situation, stap -L 'kernel.trace("*")' lists all available
tracepoints.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list