Proposed task.stp additions

Frank Ch. Eigler fche@redhat.com
Wed Jul 18 19:04:00 GMT 2007


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



More information about the Systemtap mailing list