This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/6525] New: need utrace task-finder-based pid->execname, pid->cwd-path-name tables
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 May 2008 13:48:34 -0000
- Subject: [Bug tapsets/6525] New: need utrace task-finder-based pid->execname, pid->cwd-path-name tables
- Reply-to: sourceware-bugzilla at sourceware dot org
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.