From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8569 invoked by alias); 27 Oct 2006 00:39:43 -0000 Received: (qmail 8553 invoked by uid 22791); 27 Oct 2006 00:39:42 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,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; Fri, 27 Oct 2006 00:39:38 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.8/8.13.5) with ESMTP id k9R0ncpC250458 for ; Fri, 27 Oct 2006 10:49:42 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.250.237]) by sd0208e0.au.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k9R0giHf148618 for ; Fri, 27 Oct 2006 10:42:55 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k9R0dIhi011521 for ; Fri, 27 Oct 2006 10:39:18 +1000 Received: from [9.181.133.94] ([9.181.133.94]) by d23av04.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k9R0dHeU011460; Fri, 27 Oct 2006 10:39:17 +1000 Message-ID: <454155EC.5080808@cn.ibm.com> Date: Fri, 27 Oct 2006 00:39:00 -0000 From: Li Guanglei Organization: IBM CSTL User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Nguyen, Thang P" CC: SystemTAP Subject: Re: Anyone tried SystemTap with the latest RHEL5 Beta refresh References: <9AE298E00BCF7B469C04BE82FCE78B8701C74AAD@scsmsx414.amr.corp.intel.com> In-Reply-To: <9AE298E00BCF7B469C04BE82FCE78B8701C74AAD@scsmsx414.amr.corp.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00256.txt.bz2 Nguyen, Thang P wrote: > 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 This script works for me on x86_64 with latest CVS codes on RHEL5.