[Bug translator/3672] Support formatted dump of kernel structures

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Aug 15 23:30:00 GMT 2008


------- Additional Comments From fche at redhat dot com  2008-08-15 22:28 -------
Another possible syntax for this is inspired by the $$vars introduced
recently.  Expanding struct contents could be represented like so:

    $var$  =>  a string representation of $var's fields: like
               0xfoo
          or   {.foo=0xbeef, .zoo=0xp00}

To control the depth of nesting expansion, we could add extra "$"s at the end:

    $var$$ =>  {.foo=0xbeef, .bar={.so=0x44, .po=0x848}}

This could compose with the $$ variables too:

  $$vars$  =>  var1=0xdead var2={.foo=0xbeef, .zoo=0xp00}


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3672

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



More information about the Systemtap mailing list