From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25328 invoked by alias); 28 Jul 2007 21:22:46 -0000 Received: (qmail 25320 invoked by uid 22791); 28 Jul 2007 21:22:46 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jul 2007 21:22:43 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l6SLMboE016521; Sat, 28 Jul 2007 17:22:37 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6SLMbdB018639; Sat, 28 Jul 2007 17:22:37 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l6SLMbSU006587; Sat, 28 Jul 2007 17:22:37 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 0089480008E; Sat, 28 Jul 2007 17:22:37 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id l6SLMaj5020842; Sat, 28 Jul 2007 17:22:36 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id l6SLMTlv020839; Sat, 28 Jul 2007 17:22:29 -0400 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Mike Mason Cc: Sanket Somnath Hase , systemtap@sourceware.org Subject: Re: stap -x option References: <9056.148.87.1.170.1185559171.squirrel@148.87.1.170> <46AA594A.2010005@redhat.com> <46AB8114.6090304@us.ibm.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Sat, 28 Jul 2007 21:46:00 -0000 In-Reply-To: <46AB8114.6090304@us.ibm.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 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: 2007-q3/txt/msg00213.txt.bz2 Mike Mason writes: > [...] > While I think it's best to avoid running multiple instances of the same > script, it should still be allowed. [...] > Using -m to accomplish this is cumbersome. Please try again with the "-m"-related changes dsmith just checked in. > Could we simply add an option that tells stap to ignore the cache? It's not the caching per se that's the problem, but that the default module name (stap_) is reasonably unique but hard to express with "-m". Martin pointed out that load-time module renaming is an option too (see "modprobe -o NAME MODULE"). A good solution could be to do this automatically at staprun time. - FChE