summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c7146c5)
enum ltt_type {
LTT_TYPE_SIGNED_INT,
LTT_TYPE_UNSIGNED_INT,
enum ltt_type {
LTT_TYPE_SIGNED_INT,
LTT_TYPE_UNSIGNED_INT,
LTT_TYPE_STRING,
LTT_TYPE_COMPACT,
LTT_TYPE_NONE,
LTT_TYPE_STRING,
LTT_TYPE_COMPACT,
LTT_TYPE_NONE,
*trace_type = LTT_TYPE_STRING;
goto parse_end;
case 'p':
*trace_type = LTT_TYPE_STRING;
goto parse_end;
case 'p':
- *trace_type = LTT_TYPE_UNSIGNED_INT;
+ *trace_type = LTT_TYPE_POINTER;
*trace_size = info->pointer_size;
goto parse_end;
case 'd':
*trace_size = info->pointer_size;
goto parse_end;
case 'd':
*c_type = LTT_TYPE_STRING;
goto parse_end;
case 'p':
*c_type = LTT_TYPE_STRING;
goto parse_end;
case 'p':
- *c_type = LTT_TYPE_UNSIGNED_INT;
+ *c_type = LTT_TYPE_POINTER;
*c_size = info->pointer_size;
goto parse_end;
case 'd':
*c_size = info->pointer_size;
goto parse_end;
case 'd':
//g_string_append_printf(s, "%g", ltt_event_get_double(e,f));
g_string_append_printf(s, type->fmt, ltt_event_get_double(e,f));
break;
//g_string_append_printf(s, "%g", ltt_event_get_double(e,f));
g_string_append_printf(s, type->fmt, ltt_event_get_double(e,f));
break;
- name = ltt_field_name(f);
if(name)
g_string_append_printf(s, "%s = ", g_quark_to_string(name));
}
if(name)
g_string_append_printf(s, "%s = ", g_quark_to_string(name));
}
- // g_string_append_printf(s, "0x%llx", ltt_event_get_long_unsigned(e,f));
- g_string_append_printf(s, type->fmt, ltt_event_get_long_unsigned(e,f));
+ g_string_append_printf(s, "0x%llx", ltt_event_get_long_unsigned(e,f));
+ //g_string_append_printf(s, type->fmt, ltt_event_get_long_unsigned(e,f));
case LTT_TYPE_STRING:
if(field_names) {
case LTT_TYPE_STRING:
if(field_names) {