From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18573 invoked by alias); 31 Mar 2006 04:43:49 -0000 Received: (qmail 18564 invoked by uid 22791); 31 Mar 2006 04:43:48 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Mar 2006 04:43:47 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k2V4hjfl030799; Thu, 30 Mar 2006 23:43:45 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k2V4hjQF013872; Thu, 30 Mar 2006 23:43:45 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k2V4hjxX005335; Thu, 30 Mar 2006 23:43:45 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 14E898002B7; Thu, 30 Mar 2006 23:43:45 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k2V4hiJt016771; Thu, 30 Mar 2006 23:43:44 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k2V4hirt016770; Thu, 30 Mar 2006 23:43:44 -0500 Date: Fri, 31 Mar 2006 04:43:00 -0000 From: "Frank Ch. Eigler" To: "Jose R. Santos" Cc: systemtap@sources.redhat.com Subject: Re: static probes Message-ID: <20060331044344.GN599@redhat.com> References: <20060330154333.GM599@redhat.com> <442CB0DD.9000602@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <442CB0DD.9000602@us.ibm.com> User-Agent: Mutt/1.4.1i Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00908.txt.bz2 Hi - jrs wrote: > [...] Would it be possible for SystemTap to check for the > availability of a static probe before reverting to kprobing a kernel > function? [...] That is, have systemtap substitute a function/statement() probe with a mark() probe if one happens to be nearby? It may be possible, though the mapping is not exact. For example, pt_regs* would not be conveniently available in the latter case, so arbitrary $target variables could be unavailable. - FChE