documentation for user-space usage?
Josh Stone
jistone@redhat.com
Mon Nov 1 17:56:00 GMT 2010
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
More information about the Systemtap
mailing list