This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/1133] support .callees probe pattern extension
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 28 Jan 2014 21:27:31 +0000
- Subject: [Bug translator/1133] support .callees probe pattern extension
- Auto-submitted: auto-generated
- References: <bug-1133-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=1133
--- Comment #6 from Jonathan Lebon <jlebon at redhat dot com> ---
I forgot to add also that for now, .callee simply places probes on callees'
entry points, which means that they will trigger regardless of who the caller
actually is. The future DW_AT_call_site_pc attribute should allow us to
painlessly place probe points on the call site itself rather than at entry.
As a workaround for now, we could implement a tapset function e.g.
is_caller("wanted_caller") to do this. Not sure how precise this would be, or
whether it needs to be built into the probe, or something users would add
explicitly (maybe we could add a more general .function("func").from("parent")
form to which .callee would degenerate).
Also, I haven't implemented a possible .callee(N) yet, which would recursively
probe callees of callees.
--
You are receiving this mail because:
You are the assignee for the bug.