public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE"
@ 2008-03-06 20:59 fche at redhat dot com
  2008-09-29 23:52 ` [Bug translator/5892] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fche at redhat dot com @ 2008-03-06 20:59 UTC (permalink / raw)
  To: systemtap

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.

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

* [Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"
  2008-03-06 20:59 [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE" fche at redhat dot com
@ 2008-09-29 23:52 ` fche at redhat dot com
  2008-09-29 23:53 ` fche at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2008-09-29 23:52 UTC (permalink / raw)
  To: systemtap


------- 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.

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

* [Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"
  2008-03-06 20:59 [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE" fche at redhat dot com
  2008-09-29 23:52 ` [Bug translator/5892] " fche at redhat dot com
@ 2008-09-29 23:53 ` fche at redhat dot com
  2008-10-03 15:07 ` fche at redhat dot com
  2008-11-05 20:21 ` [Bug translator/5892] support stap against plain KERNEL-BUILD-TREE fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2008-09-29 23:53 UTC (permalink / raw)
  To: systemtap



-- 
           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.

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

* [Bug translator/5892] support "stap -r KERNEL-BUILD-TREE"
  2008-03-06 20:59 [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE" fche at redhat dot com
  2008-09-29 23:52 ` [Bug translator/5892] " fche at redhat dot com
  2008-09-29 23:53 ` fche at redhat dot com
@ 2008-10-03 15:07 ` fche at redhat dot com
  2008-11-05 20:21 ` [Bug translator/5892] support stap against plain KERNEL-BUILD-TREE fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2008-10-03 15:07 UTC (permalink / raw)
  To: systemtap


------- 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.

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

* [Bug translator/5892] support stap against plain KERNEL-BUILD-TREE
  2008-03-06 20:59 [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE" fche at redhat dot com
                   ` (2 preceding siblings ...)
  2008-10-03 15:07 ` fche at redhat dot com
@ 2008-11-05 20:21 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2008-11-05 20:21 UTC (permalink / raw)
  To: systemtap


------- 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.

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

end of thread, other threads:[~2008-11-05 20:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-06 20:59 [Bug translator/5892] New: support "stap -r KERNEL-BUILD-TREE" fche at redhat dot com
2008-09-29 23:52 ` [Bug translator/5892] " fche at redhat dot com
2008-09-29 23:53 ` fche at redhat dot com
2008-10-03 15:07 ` fche at redhat dot com
2008-11-05 20:21 ` [Bug translator/5892] support stap against plain KERNEL-BUILD-TREE fche 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).