projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: use correct function to print 'enum bt_ctf_scope'
[babeltrace.git]
/
src
/
ctf-writer
/
utils.h
diff --git
a/src/ctf-writer/utils.h
b/src/ctf-writer/utils.h
index 6cb0609a13822ca38a658a43e13493a4e13c9c3c..816c0ad6a53389ca4c908f124c1441f29f1446a1 100644
(file)
--- a/
src/ctf-writer/utils.h
+++ b/
src/ctf-writer/utils.h
@@
-22,8
+22,8
@@
*/
#include "common/macros.h"
*/
#include "common/macros.h"
-#include <babeltrace2
/
ctf-writer/field-types.h>
-#include <babeltrace2
/
ctf-writer/event.h>
+#include <babeltrace2
-
ctf-writer/field-types.h>
+#include <babeltrace2
-
ctf-writer/event.h>
#include <stdint.h>
#include "field-path.h"
#include <stdint.h>
#include "field-path.h"
@@
-36,9
+36,6
@@
struct bt_ctf_search_query {
int found;
};
int found;
};
-BT_HIDDEN
-const char *bt_ctf_get_byte_order_string(enum bt_ctf_byte_order byte_order);
-
static inline
const char *bt_ctf_field_type_id_string(enum bt_ctf_field_type_id type_id)
{
static inline
const char *bt_ctf_field_type_id_string(enum bt_ctf_field_type_id type_id)
{
@@
-200,13
+197,13
@@
GString *bt_ctf_field_path_string(struct bt_ctf_field_path *path)
GString *str = g_string_new(NULL);
size_t i;
GString *str = g_string_new(NULL);
size_t i;
- BT_ASSERT(path);
+ BT_ASSERT
_DBG
(path);
if (!str) {
goto end;
}
if (!str) {
goto end;
}
- g_string_append_printf(str, "[%s", bt_c
ommon
_scope_string(
+ g_string_append_printf(str, "[%s", bt_c
tf
_scope_string(
bt_ctf_field_path_get_root_scope(path)));
for (i = 0; i < bt_ctf_field_path_get_index_count(path); i++) {
bt_ctf_field_path_get_root_scope(path)));
for (i = 0; i < bt_ctf_field_path_get_index_count(path); i++) {
This page took
0.028379 seconds
and
4
git commands to generate.