This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/17696] New: Systemtap fails to find kernel tracepoints when kernel is built in a separate directory from source tree
- From: "zhuo at bitoasis dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 11 Dec 2014 02:58:33 +0000
- Subject: [Bug runtime/17696] New: Systemtap fails to find kernel tracepoints when kernel is built in a separate directory from source tree
- Auto-submitted: auto-generated
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.