From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3124 invoked by alias); 9 Sep 2008 04:56:35 -0000 Received: (qmail 3114 invoked by uid 22791); 9 Sep 2008 04:56:34 -0000 X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from e34.co.us.ibm.com (HELO e34.co.us.ibm.com) (32.97.110.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Sep 2008 04:55:41 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m894tcbF017641 for ; Tue, 9 Sep 2008 00:55:38 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m894tcrj178282 for ; Mon, 8 Sep 2008 22:55:38 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m89AtbkI013791 for ; Tue, 9 Sep 2008 04:55:37 -0600 Received: from thinktux.in.ibm.com ([9.77.125.221]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m89Ata3p013424; Tue, 9 Sep 2008 04:55:37 -0600 Received: from thinktux.in.ibm.com (localhost.localdomain [127.0.0.1]) by thinktux.in.ibm.com (Postfix) with ESMTP id CD7E41575C3; Tue, 9 Sep 2008 10:25:26 +0530 (IST) Received: (from ananth@localhost) by thinktux.in.ibm.com (8.14.2/8.14.2/Submit) id m894tQL4006016; Tue, 9 Sep 2008 10:25:26 +0530 Date: Tue, 09 Sep 2008 04:56:00 -0000 From: Ananth N Mavinakayanahalli To: "Jun Koi" Cc: SystemTAP Subject: Re: probing based on kernel source Message-ID: <20080909045526.GA3790@in.ibm.com> Reply-To: ananth@in.ibm.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-IsSubscribed: yes 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 X-SW-Source: 2008-q3/txt/msg00591.txt.bz2 On Tue, Sep 09, 2008 at 01:46:13PM +0900, Jun Koi wrote: > Hi, > > Is it possible to probe a place coresponding to a particular line of a > particular file in Linux kernel souce code? If so, what is the syntax? See http://sourceware.org/systemtap/langref/node6.html#SECTION00062200000000000000 If the particular line you are trying to probe can't be probed due to compiler optimizations, etc., stap will give you alternatives too. Ananth