Bug 18714 - bring back process.statement.absolute probes
Summary: bring back process.statement.absolute probes
Status: NEW
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 14:51 UTC by Frank Ch. Eigler
Modified: 2018-11-10 18:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2015-07-24 14:51:19 UTC
While inode-uprobes makes $subject probe type not trivially available, we should still be able to hack around it in the runtime.  Given the requested virtual address, aat registration time we could walk the process address space, find the inode & offset corresponding to that address (if any!), and place a inode+offset uprobe there.  (This doesn't help non-inode gaps in the address space, alas.)
Comment 1 agentzh 2018-11-10 18:05:33 UTC
We'll take a stab at implementing `process.statement(0xaddr)` first for inode-based uprobes, with relative addresses in the executable files (including DSO and PIE). This will pave a way to true DWARF-less probing (with the existing @vma() facility which will get merge soon) as well as implementing our own uretprobes without all the consequences from the kernel's uretprobes. Messed up C stacks are really problematic for stack unwinding and resizable stacks.