This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Proposed task.stp additions
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 18 Jul 2007 14:16:33 -0400
- Subject: Re: Proposed task.stp additions
- References: <469E4A38.2020906@us.ibm.com>
Mike Mason <mmlnx@us.ibm.com> writes:
> [...] I'd like to add these functions to task.stp. [...]
Most of them seem OK - it's nice to see the protected kread calls.
One big issue though is (b)locking. In cwd(), d_path() can block.
I'm not sure whether pid2task() is safe (atomic). (Plus of course we
need buildok test cases and man page entries.)
- FChE