This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: precompiled probing scenarios
- From: "Frank Ch. Eigler" <fche at elastic dot org>
- To: David Smith <dsmith at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 20 Oct 2006 15:32:44 -0400
- Subject: Re: precompiled probing scenarios
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=elastic.org; b=EfLdhhskfQi98q7Erf25wrFwhJBAkIidrgs2+WDufe2SDpM5j267tIoKgDgoyXSE9/JEvimVXXKX9NKzjs0mP46NZss5v7CK679jjRimjx9VlH6xOI/GsFejNWaDuiEJ;
- References: <C56DB814FAA30B418C75310AC4BB279DCC41F4@scsmsx413.amr.corp.intel.com> <453922E8.4000608@redhat.com>
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