public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug uprobes/5163] New: tweak uprobes.ko build process
@ 2007-10-11 15:09 fche at redhat dot com
  2007-10-11 23:02 ` [Bug uprobes/5163] " jkenisto at us dot ibm dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: fche at redhat dot com @ 2007-10-11 15:09 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-04-20 20:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-11 15:09 [Bug uprobes/5163] New: tweak uprobes.ko build process fche at redhat dot com
2007-10-11 23:02 ` [Bug uprobes/5163] " jkenisto at us dot ibm dot com
2007-11-28  0:31 ` jkenisto at us dot ibm dot com
2007-11-28  1:05 ` jkenisto at us dot ibm dot com
2008-12-08 18:13 ` fche at redhat dot com
2009-01-21 11:56 ` mjw at redhat dot com
2009-01-21 19:18 ` dsmith at redhat dot com
2009-01-21 19:29 ` dsmith at redhat dot com
2009-04-03 21:58 ` jistone at redhat dot com
2009-04-16 19:14 ` mjw at redhat dot com
2009-04-16 19:21 ` fche at redhat dot com
2009-04-17 18:12 ` jkenisto at us dot ibm dot com
2009-04-20 20:05 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).