From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4384 invoked by alias); 20 Oct 2006 19:32:54 -0000 Received: (qmail 4086 invoked by uid 22791); 20 Oct 2006 19:32:53 -0000 X-Spam-Status: No, hits=-2.0 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; Fri, 20 Oct 2006 19:32:45 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=elastic.org; b=EfLdhhskfQi98q7Erf25wrFwhJBAkIidrgs2+WDufe2SDpM5j267tIoKgDgoyXSE9/JEvimVXXKX9NKzjs0mP46NZss5v7CK679jjRimjx9VlH6xOI/GsFejNWaDuiEJ; Received: from fche by elastic.org with local (auth fche) (Exim 4.60) id 1Gb06m-00070V-0t; Fri, 20 Oct 2006 15:32:44 -0400 Date: Fri, 20 Oct 2006 19:32:00 -0000 From: "Frank Ch. Eigler" To: David Smith Cc: systemtap@sources.redhat.com Subject: Re: precompiled probing scenarios Message-ID: <20061020193244.GC17981@elastic.org> References: <453922E8.4000608@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <453922E8.4000608@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/msg00222.txt.bz2 Hi - On Fri, Oct 20, 2006 at 02:26:32PM -0500, David Smith wrote: > [...] > Pass 4: compiled C into "stap_d833fd040735ddde57a23bebb4456542_201.ko" Is that "_201" at the end the getuid()? I wonder if maybe that could be hashed into the content instead. > Copying /tmp/stapYrsXWC/stap_d833fd040735ddde57a23bebb4456542_201.ko to > /home/dsmith/.stap_cache/d/8/stap_d833fd040735ddde57a23bebb4456542_201.ko > Copying /tmp/stapYrsXWC/stap_d833fd040735ddde57a23bebb4456542_201.c to > /home/dsmith/.stap_cache/d/8/stap_d833fd040735ddde57a23bebb4456542_201.c These messages should probably show up only under -vv (verbosity 2) or higher. > [...] > # stap -v -e 'probe begin { log("hi") }' [...] > Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 global(s) in > 10usr/0sys/11real ms. > Using cached result > "/home/dsmith/.stap_cache/d/8/stap_d833fd040735ddde57a23bebb4456542_201.ko" > as "/tmp/stapJFisJO/stap_d833fd040735ddde57a23bebb4456542_201.ko" This "Using cached result" part could be rephrased as a pair: Pass 3: skipped translation Pass 4: reused cached module stap_deadbeef > [...] A module (currently) gets pulled from the cache after pass 2, > even if '-p3' or '-p4' was specified on the command line. The translator would still need to spit out (regenerate) the C source code for a -p3 run. - FChE