This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: documentation for user-space usage?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]