[Bug translator/12331] New: offer a --sysroot option to aid cross-compiling
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Dec 17 01:31:00 GMT 2010
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.
More information about the Systemtap
mailing list