This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/5163] New: tweak uprobes.ko build process
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 11 Oct 2007 15:09:37 -0000
- Subject: [Bug uprobes/5163] New: tweak uprobes.ko build process
- Reply-to: sourceware-bugzilla at sourceware dot org
We need to tweak some of the uprobes.ko build steps from bug #5079.
Several problems: /usr/share/systemtap/runtime/uprobes is the wrong place
to build an object file into; /usr could be read-only; the file may not be
easily accessible to staprun except in the local/immediate probing scenario;
uprobes.ko is kernel-version/arch. dependent, just like the systemtap probe
module.
Let's investigate building the uprobes.ko more similarly to probe modules.
It could be stored in the module cache directory ($SYSTEMTAP_DIR/uprobes/).
It could be given a name that encodes the version/architecture parameters
(so the cache directory itself can be shared between machines). Instead
of passing just "-u" to staprun and have it find uprobes.ko someplace,
pass "UPROBEFILENAME.ko" itself in addition ot the "PROBEFILE.ko".
"stap -p4" could itself print out both needed modules.
--
Summary: tweak uprobes.ko build process
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: uprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5163
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.