From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22981 invoked by alias); 30 Mar 2006 11:31:24 -0000 Received: (qmail 22950 invoked by uid 22791); 30 Mar 2006 11:31:23 -0000 X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.204) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 30 Mar 2006 11:31:21 +0000 Received: by zproxy.gmail.com with SMTP id i11so403221nzh for ; Thu, 30 Mar 2006 03:31:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=j3JeSuiY5Vch6seyRxcGGdgKRY2tdY23yeMmZW7M2AJe1CHHNyKZG8mdhy0vMCAjTlccav6sidEozI2xzddf/+aqojkB8CAkYfolycHI3VySlDBEYV/lNzzgG5QzZSW4aUBJ4E7MUbSNipYcNn/Vp89V6584Hroy3tfB4exnQA0= Received: by 10.36.41.9 with SMTP id o9mr282931nzo; Thu, 30 Mar 2006 03:31:19 -0800 (PST) Received: by 10.36.106.4 with HTTP; Thu, 30 Mar 2006 03:31:19 -0800 (PST) Message-ID: <30c154100603300331n50a03a3dyd1c9ea7a39b4a3df@mail.gmail.com> Date: Thu, 30 Mar 2006 11:31:00 -0000 From: "Kevin Jia" To: systemtap@sourceware.org Subject: help-inode-watch error MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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/msg00894.txt.bz2 inode-watch.stp (in systemtap tutorial) source code: probe kernel.function ("vfs_write"), kernel.function ("vfs_read") { dev_nr =3D $file->f_dentry->d_inode->i_sb->s_dev inode_nr =3D $file->f_dentry->d_inode->i_ino if (dev_nr =3D=3D ($1 << 20 | $2) && inode_nr =3D=3D $3) printf ("%s(%d) %s 0x%x/%u\n", execname(), pid(), probefunc(), dev_nr, inode_nr) } but have errors about $1,$2,$3, the information: semantic error: unable to find local '1' near pc 0xc015b304: identifier '$1' at inode-watch.stp:7:17 semantic error: unable to find local '2' near pc 0xc015b304: identifier '$2' at inode-watch.stp:7:28 semantic error: unable to find local '3' near pc 0xc015b304: identifier '$3' at inode-watch.stp:7:47 semantic error: due to failed target variable resolution semantic error: no match for probe point while: resolving probe point kernel.function("vfs_write") semantic error: unable to find local '1' near pc 0xc015b096: identifier '$1' at inode-watch.stp:7:17 semantic error: unable to find local '2' near pc 0xc015b096: identifier '$2' at inode-watch.stp:7:28 semantic error: unable to find local '3' near pc 0xc015b096: identifier '$3' at inode-watch.stp:7:47 semantic error: due to failed target variable resolution semantic error: no match for probe point while: resolving probe point kernel.function("vfs_read") Pass 2: analysis failed. Try again with '-v' (verbose) option. Why? Thank you.