From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25199 invoked by alias); 16 May 2008 15:28:48 -0000 Received: (qmail 31373 invoked by uid 48); 16 May 2008 13:48:34 -0000 Date: Fri, 16 May 2008 16:02:00 -0000 From: "fche at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20080516134833.6525.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug tapsets/6525] New: need utrace task-finder-based pid->execname, pid->cwd-path-name tables X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00330.txt.bz2 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.