summaryrefslogtreecommitdiffstats
path: root/stapfuncs.3stap.in
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-03-26 20:24:06 -0400
committerWenji Huang <wenji.huang@oracle.com>2009-03-26 20:24:06 -0400
commit835880e72bdaca1c468b72d1f6c7f0f6cefcc717 (patch)
tree24a212a7c0e09c75356a5da3fd177961c3fa2574 /stapfuncs.3stap.in
parentd0d806edbff3dbdc70a1c83dc6ac67c88b9606ce (diff)
downloadsystemtap-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.in8
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 ()