public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/6525] New: need utrace task-finder-based pid->execname, pid->cwd-path-name tables
@ 2008-05-16 16:02 fche at redhat dot com
  2009-01-16  2:33 ` [Bug tapsets/6525] " fche at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: fche at redhat dot com @ 2008-05-16 16:02 UTC (permalink / raw)
  To: systemtap

We need a tapset that uses the new task-finder runtime in order to populate and
maintain systemtap script-level globals/functions that allow pid-based data lookup.

Specifically:

function pid2execname:string (pid:long) {}
function pid2cwdpath:string (pid:long) {}
... and maybe more.

These functions could be implemented as embedded-c or script, using globals
that are managed by utrace task-finder callback functions notifying the tapset
of tasks running chdir()/chroot()/exec().  To initially populate the globals
(for preexisting processes), the embedded-c code would need to use possibly
sleepy kernel functions to process task_struct*'s.

-- 
           Summary: need utrace task-finder-based pid->execname, pid->cwd-
                    path-name tables
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

end of thread, other threads:[~2015-10-12 16:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-6525-6586@http.sourceware.org/bugzilla/>
2013-05-24 21:29 ` [Bug tapsets/6525] need utrace task-finder-based pid->execname, pid->cwd-path-name tables fche at redhat dot com
2014-07-31  8:52 ` mcermak at redhat dot com
2014-08-04 13:48 ` mcermak at redhat dot com
2014-08-04 15:10 ` dsmith at redhat dot com
2014-08-04 16:07 ` fche at redhat dot com
2014-08-04 16:20 ` dsmith at redhat dot com
2014-08-04 16:45 ` fche at redhat dot com
2014-08-04 17:16 ` dsmith at redhat dot com
2014-08-04 17:26 ` fche at redhat dot com
2014-10-23  0:58 ` thepouar at gmail dot com
2014-10-23  0:58 ` thepouar at gmail dot com
2014-10-23  1:01 ` thepouar at gmail dot com
2014-10-23  1:02 ` thepouar at gmail dot com
2015-10-08 14:54 ` dsmith at redhat dot com
2015-10-12 16:20 ` dsmith at redhat dot com
2008-05-16 16:02 [Bug tapsets/6525] New: " fche at redhat dot com
2009-01-16  2:33 ` [Bug tapsets/6525] " fche at redhat dot com
2009-02-26  9:17 ` wenji dot huang at oracle dot com
2009-02-26  9:35 ` fche at redhat dot com
2009-02-27  1:31 ` wenji dot huang at oracle dot com
2009-02-27  1:59 ` wenji dot huang at oracle dot com
2009-03-02 21:46 ` dsmith at redhat dot com
2009-03-03 13:22 ` wenji dot huang at oracle 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).