[Bug tapsets/6525] New: need utrace task-finder-based pid->execname, pid->cwd-path-name tables
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Fri May 16 16:02:00 GMT 2008
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.
More information about the Systemtap
mailing list