[Bug translator/22310] build parser syntax for all the new staptree types
juddin at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Jun 28 15:43:00 GMT 2018
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.
More information about the Systemtap
mailing list