diff options
author | ddomingo <ddomingo@redhat.com> | 2008-10-21 16:25:38 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2008-10-21 16:25:38 +1000 |
commit | dd09ee8f6048ccb7a998c09926d8442182595292 (patch) | |
tree | 9903ca81344554b9af7dfb5b1f2e512154b5b066 /staptree.cxx | |
parent | e9a2c05304d28c9f8d249eca323cbe507dcbdd32 (diff) | |
parent | fecccf83624c2f09207cd281f9efc272300e8e55 (diff) | |
download | systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.tar.gz systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.tar.xz systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/staptree.cxx b/staptree.cxx index 73d6fe93..38166c54 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -458,6 +458,10 @@ print_format::components_to_string(vector<format_component> const & components) oss << "b"; break; + case conv_char: + oss << "llc"; + break; + case conv_signed_decimal: oss << "lld"; break; @@ -635,7 +639,7 @@ print_format::string_to_components(string const & str) if (i == str.end()) break; - // Parse the actual conversion specifier (sdiouxX) + // Parse the actual conversion specifier (bcsmdioupxXn) switch (*i) { // Valid conversion types @@ -643,6 +647,10 @@ print_format::string_to_components(string const & str) curr.type = conv_binary; break; + case 'c': + curr.type = conv_char; + break; + case 's': curr.type = conv_string; break; |