From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1538 invoked by alias); 28 Dec 2011 17:08:51 -0000 Received: (qmail 1525 invoked by uid 22791); 28 Dec 2011 17:08:49 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_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; Wed, 28 Dec 2011 17:08:34 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pBSH8XNn024463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Dec 2011 12:08:33 -0500 Received: from fche.csb (vpn-231-95.phx2.redhat.com [10.3.231.95]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pBSH8Wm0016959; Wed, 28 Dec 2011 12:08:33 -0500 Received: by fche.csb (Postfix, from userid 2569) id 4B6FD58132; Wed, 28 Dec 2011 12:08:32 -0500 (EST) To: "Klein, Matt" Cc: "systemtap@sourceware.org" Subject: Re: Issues with probing multiple modules in script References: From: fche@redhat.com (Frank Ch. Eigler) Date: Sat, 31 Dec 2011 01:33:00 -0000 In-Reply-To: (Matt Klein's message of "Tue, 27 Dec 2011 14:06:14 -0800") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-q4/txt/msg00431.txt.bz2 Hi - mklein wrote: > SystemTap translator/driver (version 1.3/0.152 non-git sources) That's a little old, but probably not a factor. > If I try to probe a single module, everything works as > expected. However if I probe multiple modules, it seems like probes > in the first module found works fine, but any probes on subsequent > modules don't actually work. I also see the following error for all > modules other than the first: > WARNING: missing unwind/symbol data for module ... This message indicates only that operations such as symname() / backtrace() might not be able to cover those other modules. (This information is extracted during pass 3, in translate.cxx dump_unwindsyms().) There may be a bug here, but I couldn't reproduce the problem here. Could you share the "stap --vp 009 -p4 ..." output? The probes' basic activity should be otherwise unaffected, meaning that you should be able to place probes whereever. > I have looked through the -vvvvv output, and it looks to me like all > of the module probe points are being identified correctly, but then > I see the WARNING message and it doesn't look like the probes ever > actually get invoked. Why do you think they're not getting invoked? You can try "stap -t ..." to get hit counts/times for individual probe points. You could try "stap -DDEBUG_SYMBOLS ..." to see some of the runtime symbol-lookup-related activity. > Is there anything obvious I am doing wrong (like probing multiple > modules from the same script doesn't work)? [...] It should all work smoothly. We just need more information to figure out what's going wrong. - FChE