From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11408 invoked by alias); 17 May 2006 00:18:40 -0000 Received: (qmail 11400 invoked by uid 22791); 17 May 2006 00:18:39 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ausmtp06.au.ibm.com (HELO ausmtp06.au.ibm.com) (202.81.18.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 17 May 2006 00:18:34 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp06.au.ibm.com (8.13.6/8.13.6) with ESMTP id k4H0KhTv2478214 for ; Wed, 17 May 2006 10:20:43 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k4H0Lj9G214242 for ; Wed, 17 May 2006 10:21:45 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11/8.13.3) with ESMTP id k4H0IPPE022969 for ; Wed, 17 May 2006 10:18:25 +1000 Received: from [127.0.0.1] ([9.181.133.250]) by d23av03.au.ibm.com (8.12.11/8.12.11) with ESMTP id k4H0IMQa022861; Wed, 17 May 2006 10:18:24 +1000 Message-ID: <446A6BED.6060306@cn.ibm.com> Date: Wed, 17 May 2006 00:18:00 -0000 From: Li Guanglei Organization: IBM CSTL User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Nathan DeBardeleben CC: "systemtap@sourceware.org" Subject: Re: [UPDATE] Linux Kernel Event Trace tool(LKET) References: <4462F4EF.8040503@cn.ibm.com> <446A2BB6.4040700@lanl.gov> In-Reply-To: <446A2BB6.4040700@lanl.gov> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit 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-q2/txt/msg00430.txt.bz2 Nathan DeBardeleben дµÀ: > I was trying to take a look at this. Now, I don't know much about > SystemTap (yet) but I cannot seem to run this - while I can run the > scripts from the tutorial, demo, and others that I've written myself. > > Using your README there's an example of how to run your scripts and when > I do that, I get: >> [ndebard@fedora64 LKET-2006-05-11]$ stap -e "probe addevent.* {}" -I >> tapsets -b -M >> semantic error: probe point mismatch at position 2 (alternatives:) >> while: resolving probe point addevent.syscall.entry >> semantic error: probe point mismatch at position 2 (alternatives:) >> while: resolving probe point addevent.syscall.return >> semantic error: no match for probe point >> while: resolving probe point addevent.syscall >> semantic error: probe point mismatch at position 2 (alternatives: cpuidle) >> while: resolving probe point addevent.tskdispatch.ctxswitch >> Pass 2: analysis failed. Try again with more '-v' (verbose) options. >> [ndebard@fedora64 LKET-2006-05-11]$ > I get the same message on the other examples you gave in there. > > Can you tell me what I'm doing wrong, please? I guess you are running LKET on the platform other than ppc64/i686, right? So if you are using other platform, say, x86_64, LKET will complain of not being able to find the alias definitions. A quick fix to work for x86_64 is: cd LKET-2006-05-11/tapsets cp -rf i686 x86_64 Then it should be ok. In fact, most of our development & testing is doing on ppc64 platform and RHEL4. So LKET needs slight changes in order to work on all platforms. This is one of the reason why I want to merge LKET into SystemTap's tapsets library so that more people could contribute to it. Let me know if you still have problems