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/9991] New: on-the-fly kernel debuginfo construction


mingo idea, paraphrased:

Given kernel sources & build tree, systemtap could invoke a
  % make CONFIG_DEBUG_INFO=y foo/bar.o
on the fly to generate debuginfo-laden object code.


Some complications:

- different compiler versions may generate different code;
  though maybe build-id matching would work

- we may not know which object files to rebuild for a basic
  symbolic probe like:
    probe kernel.function("foo_bar")
  since these can occur in any old compilation unit.
  Plus consider:
    probe kernel.statement("*@include/bar.h:333")

- mapping module("foo") to the right path name is not obvious;
  might require parsing of kernel **/Makefile

-- 
           Summary: on-the-fly kernel debuginfo construction
           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=9991

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