X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-text%2Ftypes.h;h=b9c9cc30dfb79f296579268526331283baa8df02;hp=101873a9d5af801bff4508bef1183728ff75e329;hb=03798a93f959f6c694fe98f5647481947607c604;hpb=8d8ed9afdf03dc0808e25c0e68279bb31d54742f diff --git a/include/babeltrace/ctf-text/types.h b/include/babeltrace/ctf-text/types.h index 101873a9..b9c9cc30 100644 --- a/include/babeltrace/ctf-text/types.h +++ b/include/babeltrace/ctf-text/types.h @@ -39,7 +39,8 @@ struct ctf_text_stream_pos { int dummy; /* disable output */ int print_names; /* print field names */ int field_nr; - uint64_t last_timestamp; /* to print delta */ + uint64_t last_real_timestamp; /* to print delta */ + uint64_t last_cycles_timestamp; /* to print delta */ GString *string; /* Current string */ }; @@ -75,13 +76,4 @@ void print_pos_tabs(struct ctf_text_stream_pos *pos) */ int print_field(struct definition *definition); -static inline -const char *rem_(const char *str) -{ - if (str[0] == '_') - return &str[1]; - else - return str; -} - #endif /* _BABELTRACE_CTF_TEXT_TYPES_H */