From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20909 invoked by alias); 19 May 2009 14:57:30 -0000 Received: (qmail 20901 invoked by uid 22791); 19 May 2009 14:57:29 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_32,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.43rc1) with ESMTP; Tue, 19 May 2009 14:57:21 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n4JEs1UV029770; Tue, 19 May 2009 10:54:01 -0400 Received: from fche.csb (vpn-10-90.bos.redhat.com [10.16.10.90]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4JEs1FY032630; Tue, 19 May 2009 10:54:01 -0400 Received: by fche.csb (Postfix, from userid 2569) id 9500E58480; Tue, 19 May 2009 10:54:00 -0400 (EDT) Date: Tue, 19 May 2009 14:57:00 -0000 From: "Frank Ch. Eigler" To: zshan Cc: systemtap Subject: Re: Re: Re: Fw: Re: problem when running the following script Message-ID: <20090519145400.GA24007@redhat.com> References: <20090518043338.GB17190@redhat.com> <200905192224248083495@cse.buaa.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200905192224248083495@cse.buaa.edu.cn> User-Agent: Mutt/1.4.2.2i 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: 2009-q2/txt/msg00627.txt.bz2 Hi - On Tue, May 19, 2009 at 10:24:25PM +0800, zshan wrote: > I run "grep tun_ /proc/kallsyms " > it shows that: > f8c68000 t tun_net_open [tun] > [...] OK, from this we know that you do have a "tun" module. If the tun.ko file was stripped (readelf -S .../tun.ko shows no .debug_* sections), your distribution ought provide a tun.ko.debug file somewhere with that information. You will have to find out whether this is the case, and what your distribution plans to do about it. Alternately, you may be able to use probe kprobe.function("tun_SOME_FUNCTION") { /* ... */ } but then you won't have access to context $variables. - FChE