From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24023 invoked by alias); 26 Oct 2006 20:43:17 -0000 Received: (qmail 24015 invoked by uid 22791); 26 Oct 2006 20:43:17 -0000 X-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Oct 2006 20:43:12 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by mga02.intel.com with ESMTP; 26 Oct 2006 13:43:11 -0700 Received: from scsmsx332.sc.intel.com (HELO scsmsx332.amr.corp.intel.com) ([10.3.90.6]) by orsmga001.jf.intel.com with ESMTP; 26 Oct 2006 13:43:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,362,1157353200"; d="scan'208"; a="151201572:sNHT20722590" Received: from scsmsx414.amr.corp.intel.com ([10.3.90.33]) by scsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 26 Oct 2006 13:43:11 -0700 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh Date: Thu, 26 Oct 2006 20:43:00 -0000 Message-ID: <9AE298E00BCF7B469C04BE82FCE78B8701C74AAD@scsmsx414.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Anyone tried SystemTap with the latest RHEL5 Beta refresh Thread-Index: Acb5PufL2CqXCCRJSWODedEkzKwQeAAACY7g From: "Nguyen, Thang P" To: "Mike Mason" , "Vara Prasad" Cc: "William Cohen" , "SystemTAP" X-OriginalArrivalTime: 26 Oct 2006 20:43:11.0016 (UTC) FILETIME=[59B88A80:01C6F93F] 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-q4/txt/msg00251.txt.bz2 For example: > stap ioblock_script.stp ------ ioblock_script.stp ---- #! stap probe begin { printf("DEVNAME\tSECTOR\tRW\n") } probe ioblock.request { printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw)) } probe ioblock.end { printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw)) } Thang >-----Original Message----- >From: systemtap-owner@sourceware.org [mailto:systemtap- >owner@sourceware.org] On Behalf Of Mike Mason >Sent: Thursday, October 26, 2006 1:39 PM >To: Vara Prasad >Cc: William Cohen; SystemTAP >Subject: Re: Anyone tried SystemTap with the latest RHEL5 Beta refresh > >Looks like he's trying to run the ioblock tapset file directly? That won't >work. Stap ends up loading ioblock.stp twice which results in the >duplicate probe errors. He needs to write a script that uses the ioblock >tapset probes. > >- Mike > >Vara Prasad wrote: >> One of my colleague tried SystemTap on x86_64 machine got the following >> error >> stap -g ioblock.stp >> while: registering probe alias ioblock.submit =3D >> kernel.function("submit_bio") >> semantic error: duplicate probe point pattern >> while: registering probe alias ioblock.end =3D kernel.function("bio_endio") >> semantic error: duplicate probe point pattern >> Pass 2: analysis failed. Try again with more '-v' (verbose) options. >> >> >> I dont have the setup to debug his problem, was wondering if anyone has >> experienced these problems. >> He is using stock RHEL 5 setup. I thought we now bundle everything >> needed in RHEL5, correct. >> Does he needs to download any additional packages? >> >> Thanks for your help, >> Vara Prasad >>