From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 460 invoked by alias); 16 Feb 2006 06:54:15 -0000 Received: (qmail 453 invoked by uid 22791); 16 Feb 2006 06:54:14 -0000 X-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_20,DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ausmtp04.au.ibm.com (HELO ausmtp04.au.ibm.com) (202.81.18.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Feb 2006 06:54:12 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.12.10/8.13.5) with ESMTP id k1G70Iwk064194 for ; Thu, 16 Feb 2006 18:00:18 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id k1G6upgu209188 for ; Thu, 16 Feb 2006 17:56:57 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11/8.13.3) with ESMTP id k1G6rYDM019101 for ; Thu, 16 Feb 2006 17:53:34 +1100 Received: from IBM528414E28E4 (IBM-528414E28E4.cn.ibm.com [9.181.133.157]) by d23av02.au.ibm.com (8.12.11/8.12.11) with SMTP id k1G6rUr8019047 for ; Thu, 16 Feb 2006 17:53:33 +1100 Message-ID: <011f01c632c5$b5bf5840$9d85b509@IBM528414E28E4> From: "Gui,Jian" To: Subject: obsolete syscall probe points in tapset for ppc64? Date: Thu, 16 Feb 2006 06:54:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-IsSubscribed: yes 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/msg00531.txt.bz2 Hi, I run "make check" to test snapshot 20060211 on my ppc64 linux and only 1 of 136 tests failed. My environment is: RHEL4 U3 + 2.6.9-30.EL + snapshot 20060211 + elfutils 0.119-0.1 Here is the detailed error message: [root@localhost src-20060211]# stap -up4 testsuite/buildok/syscall.stp semantic error: no match for probe point while: resolving probe point kernel.function("sys_fstat") semantic error: no match for probe point while: resolving probe point syscall.fstat semantic error: no match for probe point while: resolving probe point kernel.function("sys_mmap2") semantic error: no match for probe point while: resolving probe point syscall.mmap2 semantic error: no match for probe point while: resolving probe point kernel.function("sys_setgroups16") semantic error: no match for probe point while: resolving probe point syscall.setgroups16 semantic error: no match for probe point while: resolving probe point kernel.function("sys_stat") semantic error: no match for probe point while: resolving probe point syscall.stat semantic error: no match for probe point while: resolving probe point kernel.function("sys_fstat").return semantic error: no match for probe point while: resolving probe point syscall.fstat.return semantic error: no match for probe point while: resolving probe point kernel.function("sys_mmap2").return semantic error: no match for probe point while: resolving probe point syscall.mmap2.return semantic error: no match for probe point while: resolving probe point kernel.function("sys_setgroups16").return semantic error: no match for probe point while: resolving probe point syscall.setgroups16.return semantic error: no match for probe point while: resolving probe point kernel.function("sys_stat").return semantic error: no match for probe point while: resolving probe point syscall.stat.return Pass 2: analysis failed. Try again with '-v' (verbose) option. The errors come from the probe points for sys_fstat, sys_mmap2 defined in tapset/syscalls.stp and the probe points for sys_stat, sys_setgroups16 in tapset/syscalls2.stp. I grep /proc/kallsyms and found these four syscalls are not exported. I check the kernel source and find they are replaced by newer versions or removed (?) in ppc64 kernel: sys_fstat --> sys_newfstat sys_mmap2 --> sys32_mmap2 sys_setgroups16 --> ? sys_stat --> sys_newstat Maybe we should add some architecture check or move these probe points from tapset/syscalls.stp to arch-dependent directories? Any comments? Thanks. guijian