[Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE"

View: New views
5 Messages — Rating Filter:   Alert me  

[Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE"

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's a need to allow users who build their own kernels in oddball directories
to sic systemtap at them.  This may go beyond $SYSTEMTAP_DEBUGINFO_PATH.

While at it, we could drop the "-r REV implies -p4" heuristic, as someone
attempting to run a crosscompiled module will get a failure message pretty
soon anyway.

--
           Summary: support "stap -r KERNEL-BUILD-TREE"
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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.

[Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From fche at redhat dot com  2008-09-29 23:51 -------
This includes:

* looking there for the kernel-devel makefiles etc.
* not assuming -p4; consider removing that logic altogether



--


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.

[Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |6925
              nThis|                            |


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.

[Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From fche at redhat dot com  2008-10-03 15:06 -------
*** Bug 6581 has been marked as a duplicate of this bug. ***

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mhiramat at redhat dot com


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.

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

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- 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.
LightInTheBox - Buy quality products at wholesale price!