From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10059 invoked by alias); 28 Jan 2014 21:27:36 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 9772 invoked by uid 48); 28 Jan 2014 21:27:32 -0000 From: "jlebon at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/1133] support .callees probe pattern extension Date: Tue, 28 Jan 2014 21:27:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlebon at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: week X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00067.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=1133 --- Comment #6 from Jonathan Lebon --- 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.