summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
authorElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-12-19 10:03:35 -0500
committerElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-12-19 10:03:35 -0500
commit30c94a80d5f7bef33450bd1a7e090c8e99b6db89 (patch)
tree17860ed41e259e5c12bc748968ee895d376644cf /staptree.cxx
parent0b7f181e1096f8833e24a60a7c0f97ecc063b9f4 (diff)
downloadsystemtap-steved-30c94a80d5f7bef33450bd1a7e090c8e99b6db89.tar.gz
systemtap-steved-30c94a80d5f7bef33450bd1a7e090c8e99b6db89.tar.xz
systemtap-steved-30c94a80d5f7bef33450bd1a7e090c8e99b6db89.zip
First attempt at printf kernel memory hex dump
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/staptree.cxx b/staptree.cxx
index 51992d7a..fafefc4e 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -494,6 +494,10 @@ print_format::components_to_string(vector<format_component> const & components)
oss << 'm';
break;
+ case conv_memory_hex:
+ oss << 'M';
+ break;
+
default:
break;
}
@@ -655,6 +659,10 @@ print_format::string_to_components(string const & str)
curr.type = conv_memory;
break;
+ case 'M':
+ curr.type = conv_memory_hex;
+ break;
+
case 'd':
case 'i':
curr.type = conv_signed_decimal;