From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9030 invoked by alias); 6 Aug 2012 09:26:02 -0000 Received: (qmail 9021 invoked by uid 22791); 6 Aug 2012 09:26:01 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 06 Aug 2012 09:25:44 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q769PiMH019847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Aug 2012 05:25:44 -0400 Received: from springer.wildebeest.org (ovpn-113-77.phx2.redhat.com [10.3.113.77]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q769PgYr014019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Aug 2012 05:25:43 -0400 Received: by springer.wildebeest.org (Postfix, from userid 500) id 1E4A54BD1A; Mon, 6 Aug 2012 11:25:41 +0200 (CEST) Message-ID: <1344245141.2974.47.camel@springer.wildebeest.org> Subject: Re: Defintion of CONTEXT From: Mark Wielaard To: domenico.dileo@unina.it Cc: "Frank Ch. Eigler" , systemtap@sourceware.org Date: Mon, 06 Aug 2012 09:26:00 -0000 In-Reply-To: <20120806102059.36431edk4tikjuqz@inbox.unina.it> References: <501BFC07.6010403@unina.it> <20120806102059.36431edk4tikjuqz@inbox.unina.it> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00159.txt.bz2 On Mon, 2012-08-06 at 10:20 +0200, domenico.dileo@unina.it wrote: > ok, but I would like to find out about the several > information to which is possible to access with CONTEXT. > For instance, CONTEXT->regs allows you to get the > value stored in some registers (I guess), > There are other fields, such as CONTEXT->regflags, CONTEXT->pi > and so on. Where can I find a full description (or definition) > of CONTEXT? What can I access to with CONTEXT?. It is internal to the systemtap runtime and really not supposed to be accessed by user code. But if you are interested in the internals then take a look at runtime/common_probe_context.h which has several comments describing the fields: http://www.sourceware.org/git/gitweb.cgi?p=3Dsystemtap.git;a=3Dblob;f=3Drun= time/common_probe_context.h;hb=3DHEAD