From 128cdf6cf67944ee908bd0584cac089ec40434b3 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 26 May 2005 13:53:30 +0000 Subject: [PATCH] none --- tapsets/contextinfo/contextinfo.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tapsets/contextinfo/contextinfo.txt b/tapsets/contextinfo/contextinfo.txt index 275f1b6d7..5f7f725f9 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 -- 2.43.5