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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22310

            Bug ID: 22310
           Summary: bpf: build parser syntax for all the new staptree
                    types
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: amerey at redhat dot com
  Target Milestone: ---

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22310

--- Comment #1 from Aaron Merey <amerey at redhat dot com> ---
Example of new staptree types: visit_target_deref, visit_target_register.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

macro@linux-mips.org
In reply to this post by macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22310

Jafeer Uddin <juddin at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |juddin at redhat dot com
            Summary|bpf: build parser syntax    |build parser syntax for all
                   |for all the new staptree    |the new staptree types
                   |types                       |

--- Comment #2 from Jafeer Uddin <juddin at redhat dot com> ---
Need to add parser support for the new types

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

macro@linux-mips.org
In reply to this post by macro@linux-mips.org
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.
Reply | Threaded
Open this post in threaded view
|

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

macro@linux-mips.org
In reply to this post by macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22310

Jafeer Uddin <juddin at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|systemtap at sourceware dot org    |juddin at redhat dot com

--- Comment #4 from Jafeer Uddin <juddin at redhat dot com> ---
parser support is added in commit 4c2e691d2f2d687f7ff60176357d2b809defc047

--
You are receiving this mail because:
You are the assignee for the bug.