From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61237 invoked by alias); 20 Nov 2015 09:59:55 -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 61225 invoked by uid 89); 20 Nov 2015 09:59:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f42.google.com Received: from mail-wm0-f42.google.com (HELO mail-wm0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 20 Nov 2015 09:59:53 +0000 Received: by wmdw130 with SMTP id w130so12971042wmd.0 for ; Fri, 20 Nov 2015 01:59:49 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.28.88.5 with SMTP id m5mr1411290wmb.54.1448013587074; Fri, 20 Nov 2015 01:59:47 -0800 (PST) Received: by 10.194.116.69 with HTTP; Fri, 20 Nov 2015 01:59:47 -0800 (PST) Date: Fri, 20 Nov 2015 09:59:00 -0000 Message-ID: Subject: How does stap execute probe aliases? From: Nan Xiao To: systemtap@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-q4/txt/msg00158.txt.bz2 Hi all, I try to execute the following script from this page (https://sourceware.org/systemtap/SystemTap_Beginners_Guide/targetavailable.html#available): # cat two_probes.stp #!/usr/bin/stap probe vm.pagefault = kernel.function("__handle_mm_fault@mm/memory.c") ?, kernel.function("handle_mm_fault@mm/memory.c") ? { name = "pagefault" write_access = (@defined($flags) ? $flags & FAULT_FLAG_WRITE : $write_access) address = $address } # ./two_probes.stp semantic error: no probes found Pass 2: analysis failed. [man error::pass2] Why can't the stap find the probes? Thanks in advance! Best Regards Nan Xiao