summaryrefslogtreecommitdiffstats
path: root/tapsets
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets')
-rw-r--r--tapsets/contextinfo/contextinfo.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tapsets/contextinfo/contextinfo.txt b/tapsets/contextinfo/contextinfo.txt
index 275f1b6d..5f7f725f 100644
--- a/tapsets/contextinfo/contextinfo.txt
+++ b/tapsets/contextinfo/contextinfo.txt
@@ -24,6 +24,8 @@
$pc: number: PC snapshot at invocation
$stack[depth]: number: PC of caller at given depth, if available
+ $pid, $tgid, $uid, $comm : number/string : current-> fields
+
* Dependencies:
Debug-info files
@@ -40,6 +42,9 @@
$stack[0] might take some probing in the registers, or (eek!) on the
target stack frame. Conservatively returning 0 instead may be okay.
+ The current-based series of values ($pid etc.), for kernel-targeted
+ probes, need to check for !in_interrupt() before dereferencing current->.
+
* Data collection:
Several of the variables are translation-time constants, so these don't