summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx10
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;