From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10197 invoked by alias); 28 Oct 2008 22:52:16 -0000 Received: (qmail 10190 invoked by uid 22791); 28 Oct 2008 22:52:15 -0000 X-Spam-Status: No, hits=3.2 required=5.0 tests=BAYES_50,DNS_FROM_OPENWHOIS,J_CHICKENPOX_33,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Oct 2008 22:51:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KuxPF-0003OQ-Nz for systemtap@sourceware.org; Tue, 28 Oct 2008 15:51:21 -0700 Message-ID: <20217654.post@talk.nabble.com> Date: Tue, 28 Oct 2008 22:52:00 -0000 From: Kai_Wong To: systemtap@sourceware.org Subject: help needed to probe own modules MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kai_wong@symantec.com X-IsSubscribed: yes 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: 2008-q4/txt/msg00225.txt.bz2 I'm a new systemtap user and am trying to use it to probe my own kernel modules. I'm successful in running sample scripts such as top.stp in /usr/share/doc/systemtap-0.5.12 on a RHEL 5 system. I can also do things like: stap -e 'probe module("ext3").function("*") {printf("%d %s(%d)\n", gettimeofday_s(), execname(), pid())}' However, for a module, vxlogmod, that I made and added using insmod and showed up under lsmod: [root@srlglm1 vxlog]#lsmod Module Size Used by ... ... vxlogmod 317560 1 vxglm stap gave the following error: # stap -e 'probe module("vxlogmod").function("*") {}' semantic error: no match for probe point while resolving probe point module("vxlogmod").function("*") Pass 2: analysis failed. Try again with more '-v' (verbose) options. So, my questions are: 1. Does systemtap on RHEL5 support probing kernel modules that are built and installed separately from the distro kernel? 2. If so, what do I need to do to make it recognize my modules? Any help will be much appreciated. Best, Kai -- View this message in context: http://www.nabble.com/help-needed-to-probe-own-modules-tp20217654p20217654.html Sent from the Sourceware - systemtap mailing list archive at Nabble.com.