This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/5892] support stap against plain KERNEL-BUILD-TREE


------- Additional Comments From fche at redhat dot com  2008-11-05 20:20 -------
The interplay with $SYSTEMTAP_DEBUGINFO_PATH needs attention.
A recent change allowed that environment variable to point to a
kernel build tree path, but that's not quite right either, as
we need a real search path to allow user-space debuginfo etc.

Plus we need the kernel version value too, for passing
to tapset predicates, so we can't just replace the -r VERSION
with -r PATH, unless VERSION can be easily pulled out of the
build tree.  (All mentions of /lib/modules/... in the code
would need to be audited/parametrized.)

The kernel build tree path is special in that we need to refer
to it not just to fetch debuginfo/markers/etc., but also to hook up
buildrun.cxx's (kernel-devel) paths to it.  So I think we need a
separate option or environment variable:
   %  stap -B KERNEL_BUILD_TREE  [...]
where `-r VERSION' would automatically computed if able, and
$SYSTEMTAP_DEBUGINFO_PATH goes back to being a plain
colon-separated search path of (sub)directories.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |rarora at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED
            Summary|support "stap -r KERNEL-    |support stap against plain
                   |BUILD-TREE"                 |KERNEL-BUILD-TREE


http://sourceware.org/bugzilla/show_bug.cgi?id=5892

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]