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/3672] Support formatted dump of kernel structures


------- 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.


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