public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/17696] New: Systemtap fails to find kernel tracepoints when kernel is built in a separate directory from source tree
@ 2014-12-11  2:58 zhuo at bitoasis dot com
  2014-12-11  5:23 ` [Bug runtime/17696] " zhuo at bitoasis dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zhuo at bitoasis dot com @ 2014-12-11  2:58 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-12 20:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-11  2:58 [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
2014-12-11  5:23 ` [Bug runtime/17696] " zhuo at bitoasis dot com
2015-01-08 23:03 ` jistone at redhat dot com
2015-01-09 12:45 ` zhuo at bitoasis dot com
2015-01-09 17:24 ` jistone at redhat dot com
2015-01-09 17:28 ` jistone at redhat dot com
2015-01-10  1:24 ` zhuo at bitoasis dot com
2015-01-12 20:43 ` jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).