From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12688 invoked by alias); 21 Nov 2009 14:48:23 -0000 Received: (qmail 12674 invoked by uid 22791); 21 Nov 2009 14:48:19 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Nov 2009 14:47:15 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nALElEmR013131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 21 Nov 2009 09:47:14 -0500 Received: from fche.csb (vpn-243-193.phx2.redhat.com [10.3.243.193]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nALElEDB020321; Sat, 21 Nov 2009 09:47:14 -0500 Received: by fche.csb (Postfix, from userid 2569) id 9DADD580E6; Sat, 21 Nov 2009 09:47:13 -0500 (EST) Date: Sat, 21 Nov 2009 14:48:00 -0000 From: "Frank Ch. Eigler" To: Frans Verster Cc: systemtap@sources.redhat.com Subject: Re: SystemTap Message-ID: <20091121144713.GC29296@redhat.com> References: <1cd351fc0911180659k7c49c97fk7e0b6463764f3894@mail.gmail.com> <20091118150807.GB12292@redhat.com> <1cd351fc0911180757l128dad05s44a2d689d5489d82@mail.gmail.com> <20091120152420.GD12292@redhat.com> <1cd351fc0911210529p95d3208k35d490d77225d162@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cd351fc0911210529p95d3208k35d490d77225d162@mail.gmail.com> User-Agent: Mutt/1.4.2.2i 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 X-SW-Source: 2009-q4/txt/msg00630.txt.bz2 Hi - > OK as soon as it works nicely i will add [ubuntu kernel rebuild > instructions] to the wiki. Great. > I am trying out the samples, with one i have troubles, can you run > inodewatch-simple.stp ? Not quite; the old scripts transcribed into the documentation fell behind modern kernels. $file->f_dentry would need to be replaced with $file->f_path->dentry. The tapset library of script fragments is meant to hide such changes (see tapset/vfs.stp for example), but that script must have been written with an older version of the tapset in mind. With current tapset actually, you'd replace those two whole $-expressions with: dev_nr = dev ino_nr = ino since vfs.read/.write provide "cooked" dev & ino values. See $prefix/share/doc/systemtap*/examples for more current samples. - FChE