This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/22310] build parser syntax for all the new staptree types
- From: "juddin at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 28 Jun 2018 15:43:20 +0000
- Subject: [Bug translator/22310] build parser syntax for all the new staptree types
- Auto-submitted: auto-generated
- References: <bug-22310-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22310
--- Comment #3 from Jafeer Uddin <juddin at redhat dot com> ---
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.
In a script, it would be used like "foo = @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.
In a script, it would be used like "bar = @kregister(0)"
--
You are receiving this mail because:
You are the assignee for the bug.