summaryrefslogtreecommitdiffstats
path: root/stapfuncs.3stap.in
diff options
context:
space:
mode:
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 ()