This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: precompiled probing scenarios
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "Frank Ch. Eigler" <fche at elastic dot org>, "David Smith" <dsmith at redhat dot com>
- Cc: <systemtap at sources dot redhat dot com>
- Date: Fri, 20 Oct 2006 13:51:44 -0700
- Subject: RE: precompiled probing scenarios
On Friday, October 20, 2006 1:13 PM, Frank Ch. Eigler wrote:
> Hi -
>
> dsmith wrote:
>> [...]
>> I don't hash the getuid(), since:
>> - by default your cache is stored in your home directory
>> - who you are doesn't change the pass 2-4 output
>
> That's all true. One possible reason for including getuid() anyway is
> so that two different sudo-empowered people can run the same script at
> the same time without one having to disable his cache.
Also, uid isn't always in sync with $HOME. Besides people doing weird
things tweaking it, a simple example is that sudo may or may not change
$HOME to ~root.
Josh