This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/21891] New: bpf kernel symbols need _stext or .module-based relocation
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 02 Aug 2017 18:46:26 +0000
- Subject: [Bug runtime/21891] New: bpf kernel symbols need _stext or .module-based relocation
- Auto-submitted: auto-generated
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.