public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/5236] New: process memory map tracker
@ 2007-10-31 20:38 fche at redhat dot com
  2007-10-31 21:05 ` [Bug runtime/5236] " jkenisto at us dot ibm dot com
  2008-04-30 21:13 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2007-10-31 20:38 UTC (permalink / raw)
  To: systemtap

we need a widget either in the systemtap runtime proper, or within
staprun/stapio, to tell a probe the memory layout of a given user process.  This
is basically the contents of /proc/$$/maps, and is necessary in order to place
kprobes, relocate unwind/symbol data, and probably other stuff too.  Some of it
needs to be available by probe initialization (uprobe placement) time.  It needs
to be kept reasonably up to date, and readable without taking sleepy locks (for
backtrace purposes).

-- 
           Summary: process memory map tracker
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5236

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/5236] process memory map tracker
  2007-10-31 20:38 [Bug runtime/5236] New: process memory map tracker fche at redhat dot com
@ 2007-10-31 21:05 ` jkenisto at us dot ibm dot com
  2008-04-30 21:13 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2007-10-31 21:05 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jkenisto at us dot ibm dot com  2007-10-31 21:05 -------
Roland's utrace TODO list (http://people.redhat.com/roland/utrace/TODO) includes
a "mmap change event," which would presumably call a client callback when a VM
area is created/removed/resized/moved.  If you could create an initial map
(possibly in a sleepy context) and then catch map changes as they happen, you
could have an up-to-date version available even in can't-sleep contexts.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5236

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/5236] process memory map tracker
  2007-10-31 20:38 [Bug runtime/5236] New: process memory map tracker fche at redhat dot com
  2007-10-31 21:05 ` [Bug runtime/5236] " jkenisto at us dot ibm dot com
@ 2008-04-30 21:13 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2008-04-30 21:13 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-04-30 20:52 -------


*** This bug has been marked as a duplicate of 5951 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=5236

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2008-04-30 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-31 20:38 [Bug runtime/5236] New: process memory map tracker fche at redhat dot com
2007-10-31 21:05 ` [Bug runtime/5236] " jkenisto at us dot ibm dot com
2008-04-30 21:13 ` 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).