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 runtime/21891] New: bpf kernel symbols need _stext or .module-based relocation


https://sourceware.org/bugzilla/show_bug.cgi?id=21891

            Bug ID: 21891
           Summary: bpf kernel symbols need _stext or .module-based
                    relocation
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

The translator sends relocation-basis-offset addresses into the .bo symbol
names for kprobes. stapbpf must add back the _stext offset for kernel.* symbols
before registering probe points.  For module.* probes, the translator will need
to encode the module name or somesuch in the symbol names, so that stapbpf can
relocate against those too (not _stext).

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

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