This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/22310] build parser syntax for all the new staptree types


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]