From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56945 invoked by alias); 20 Nov 2015 16:12:52 -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 56936 invoked by uid 89); 20 Nov 2015 16:12:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 20 Nov 2015 16:12:51 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id ED7A673; Fri, 20 Nov 2015 16:12:49 +0000 (UTC) Received: from fche.csb (vpn-60-176.rdu2.redhat.com [10.10.60.176]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAKGCn6F001078; Fri, 20 Nov 2015 11:12:49 -0500 Received: by fche.csb (Postfix, from userid 2569) id 12B0B58977; Fri, 20 Nov 2015 11:12:48 -0500 (EST) To: Nan Xiao Cc: systemtap@sourceware.org Subject: Re: How does stap execute probe aliases? References: From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 20 Nov 2015 16:12:00 -0000 In-Reply-To: (Nan Xiao's message of "Fri, 20 Nov 2015 17:59:47 +0800") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2015-q4/txt/msg00160.txt.bz2 xiaonan830818 wrote: > I try to execute the following script from this page > (https://sourceware.org/systemtap/SystemTap_Beginners_Guide/targetavailable.html#available): > [...] > Why can't the stap find the probes? Thanks in advance! Because that script defines aliases only (kind of like a #define FOO BAR in a C program), and doesn't instantiate them (FOO in a C program). So add probe vm.pagefault { /* ... */ } to your script. - FChE