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/1133] support .callees probe pattern extension


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.


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