diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2009-03-26 20:24:06 -0400 |
---|---|---|
committer | Wenji Huang <wenji.huang@oracle.com> | 2009-03-26 20:24:06 -0400 |
commit | 835880e72bdaca1c468b72d1f6c7f0f6cefcc717 (patch) | |
tree | 24a212a7c0e09c75356a5da3fd177961c3fa2574 /stapfuncs.3stap.in | |
parent | d0d806edbff3dbdc70a1c83dc6ac67c88b9606ce (diff) | |
download | systemtap-steved-835880e72bdaca1c468b72d1f6c7f0f6cefcc717.tar.gz systemtap-steved-835880e72bdaca1c468b72d1f6c7f0f6cefcc717.tar.xz systemtap-steved-835880e72bdaca1c468b72d1f6c7f0f6cefcc717.zip |
Add manual for pid-based lookup functions
* stapfuncs.3stap.in: Add description for pid2task
and pid2execname.
Diffstat (limited to 'stapfuncs.3stap.in')
-rw-r--r-- | stapfuncs.3stap.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stapfuncs.3stap.in b/stapfuncs.3stap.in index 1f2955da..ccc87b1d 100644 --- a/stapfuncs.3stap.in +++ b/stapfuncs.3stap.in @@ -346,6 +346,14 @@ Return the number of open file handles for the given task. task_max_file_handles:long(task:long) Return the maximum number of file handles for the given task. +.TP +pid2task:long(pid:long) +Return the task of the given process id. + +.TP +pid2execname:string(pid:long) +Return the name of the given process id. + .SS CPU REGISTERS .TP registers_valid:long () |