This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/3672] Support formatted dump of kernel structures
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Aug 2008 22:28:33 -0000
- Subject: [Bug translator/3672] Support formatted dump of kernel structures
- References: <20061207014705.3672.mmlnx@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.