This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12331] New: offer a --sysroot option to aid cross-compiling
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 17 Dec 2010 01:31:49 +0000
- Subject: [Bug translator/12331] New: offer a --sysroot option to aid cross-compiling
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12331
Summary: offer a --sysroot option to aid cross-compiling
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap@sources.redhat.com
ReportedBy: jistone@redhat.com
The idea is to provide a path prefix to find binaries that will be relative to
the root on the target system. We're already pretty good about versioning when
it comes to kernel files, but we need this mechanism to access userspace paths
that may be totally different on the compile host and the target. So given:
stap --sysroot=/foo -l 'process("/bin/ls").function("*")'
We'd actually examine /foo/bin/ls for potential probes. But when they are
used, the runtime would match the path on the target without the sysroot
prefix.
This mechanism may also be useful for a compile server to isolate access from
unwanted paths like autofs /net.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.