From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3871 invoked by alias); 19 Oct 2006 21:53:25 -0000 Received: (qmail 3862 invoked by uid 22791); 19 Oct 2006 21:53:25 -0000 X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNALL,DK_SIGNED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from elastic.org (HELO elastic.org) (69.20.226.105) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Oct 2006 21:53:21 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=elastic.org; b=ElIkdcyhcg2pZSn+X3Mr8Xstyk0fv/vpiRg8cUsSpk4jCYK8hfKwXDd3mU4d6CoEpAFSIa48fc+zKs9M0qCr9pmGmntM+TMsMK5NBNcn/fPytUN++QQajloq/o1pemNN; Received: from fche by elastic.org with local (auth fche) (Exim 4.60) id 1GafpH-0005tv-Ps; Thu, 19 Oct 2006 17:53:19 -0400 Date: Thu, 19 Oct 2006 21:53:00 -0000 From: "Frank Ch. Eigler" To: David Smith Cc: systemtap@sources.redhat.com Subject: Re: precompiled probing scenarios Message-ID: <20061019215319.GB17981@elastic.org> References: <20061006190806.GA30553@elastic.org> <4526BD8F.3060002@redhat.com> <20061006204001.GB4529@elastic.org> <4537D6D3.9000900@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4537D6D3.9000900@redhat.com> User-Agent: Mutt/1.4.2.1i 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-q4/txt/msg00195.txt.bz2 Hi - dsmith wrote: > [...] Nice work, thank you! You might want to taunt people with some speed improvement numbers too. > [...] The hash is computed using the following data: > - gcc's path, size, and mtime > - stap's version and compile date In addition or instead of this, could include a hash of /proc/self/exe content and/or stat info (like gcc's), for us developers. > [...] > Note that currently several tests in the testsuite fail after a first > run to seed the cache because they don't expect to see the skip from > pass 2 to pass 5. How do you mean they fail? -p3 or -p4 should still work. > [...] > - Set a maximum cache size and expire old modules. Is this needed? We can include a shell script ditty for that. I wouldn't bother put the logic into stap proper. Regarding the choice of cache directory name (".stap_cache"), that's OK if we don't anticipate anything other than cache files to have to live under $HOME. But if we want to undertake cross-instrumentation along the lines I proposed, we'd need at least a few more non-cache files (for host descriptions for example). If so, then .stap_cache should be nested as .systemtap/cache instead, so that other data files may live under .systemtap/. - FChE