summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2005-05-26 13:53:30 +0000
committerfche <fche>2005-05-26 13:53:30 +0000
commit128cdf6cf67944ee908bd0584cac089ec40434b3 (patch)
treed890b8e10840793eddc0d9c1f76dc068ba0cb89f
parentabedf3db3774b54ee4ed227e3ae69e55fb0ff76c (diff)
downloadsystemtap-steved-128cdf6cf67944ee908bd0584cac089ec40434b3.tar.gz
systemtap-steved-128cdf6cf67944ee908bd0584cac089ec40434b3.tar.xz
systemtap-steved-128cdf6cf67944ee908bd0584cac089ec40434b3.zip
none
-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