From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5531 invoked by alias); 28 Jun 2018 15:43:24 -0000 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 Received: (qmail 5483 invoked by uid 48); 28 Jun 2018 15:43:20 -0000 From: "juddin at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/22310] build parser syntax for all the new staptree types Date: Thu, 28 Jun 2018 15:43:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juddin at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q2/txt/msg00123.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22310 --- Comment #3 from Jafeer Uddin --- Need to add parser support for the new staptree types target_deref and target_register target_deref takes two parmeters a size and an address, and dereferences the pointer to an integer. There are two versions, @kderef for kernel space addresses and @uderef for user space addresses.=20 In a script, it would be used like "foo =3D @uderef(4, $foo_ptr)" target_register takes a register number and returns the value stored in the register. There are two versions, @kregister for kernel space registers and @uregister for userspace registers.=20 In a script, it would be used like "bar =3D @kregister(0)" --=20 You are receiving this mail because: You are the assignee for the bug.