This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: documentation for user-space usage?
- From: Josh Stone <jistone at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 01 Nov 2010 10:56:12 -0700
- Subject: Re: documentation for user-space usage?
- References: <iaf9eu$jvj$1@dough.gmane.org> <y0m1v76ib0i.fsf@fche.csb>
On 10/31/2010 09:26 AM, Frank Ch. Eigler wrote:
> User-space probing and kernel-space probing are basically identical
> from the point of view of the stap user. You can cross-compile probes
> the same way.
I'm not so sure: When we examine kernel probes, we're able to consider
different paths for local vs. cross-compiled kernels. But when trying
to probe "/usr/bin/foo", we're only considering what's local.
Perhaps we need a "--rootfs" option? This could give a local path to
find binaries that will be located on the root of the target. i.e. for
translation we'd look at "$rootfs/usr/bin/foo", but at runtime
task-finder would match simply "/usr/bin/foo".
Josh