public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug documentation/11554] New: Document SYSTEMTAP_DEBUGINFO_PATH better
@ 2010-04-28 21:06 jkenisto at us dot ibm dot com
  2010-04-28 21:11 ` [Bug documentation/11554] " jistone at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: jkenisto at us dot ibm dot com @ 2010-04-28 21:06 UTC (permalink / raw)
  To: systemtap

From time to time, a stap user comes to me with the following problem.  He (or
she) is trying to debug a distro-provided kernel.  He's downloaded the debuginfo
rpm, but he doesn't know how to tell stap where to find the debuginfo.  And even
though I've been using stap for years, neither do I.

I know that there's probably some way to set the SYSTEMTAP_DEBUGINFO_PATH
environment variable to solve his problem, but the stap(1) man page (which is
the only place I see SYSTEMTAP_DEBUGINFO_PATH mentioned) is almost no help here.
 Even consulting the stap source is no help, because the debuginfo search
algorithm seems to be buried in the bowels of elfutils.

I usually end up advising them to do what I do, which is to build a new kernel
with -g and point /boot/vmlinux-<version> at it.  But that's often not an option.

So could somebody who knows this stuff please document it clearly?  Specifically...
1. What does stap expect the kernel debuginfo file to be called?
2. How do you tell stap to find it in directory D?
3. What about debuginfo for kernel modules?
4. What about debuginfo for user programs?
5. What about debuginfo for libraries?

-- 
           Summary: Document SYSTEMTAP_DEBUGINFO_PATH better
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: documentation
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-11554-1110@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2010-10-14 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28 21:06 [Bug documentation/11554] New: Document SYSTEMTAP_DEBUGINFO_PATH better jkenisto at us dot ibm dot com
2010-04-28 21:11 ` [Bug documentation/11554] " jistone at redhat dot com
2010-04-28 21:55 ` jkenisto at us dot ibm dot com
2010-05-25 13:36 ` jkenisto at us dot ibm dot com
2010-05-25 14:56 ` srikar at linux dot vnet dot ibm dot com
     [not found] <bug-11554-1110@http.sourceware.org/bugzilla/>
2010-10-14 21:24 ` lberk 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).