Fix tar.gz build by removing legacy include to ltt directory
[lttv.git] / lttv / lttv / print.c
index a8de92df4b286cca517e130637cc56052de01e5f..e8df4ed9f12d5853a44e1a1712db231f186d7d4c 100644 (file)
 #include <lttv/filter.h>
 #endif
 #include <lttv/print.h>
-#include <ltt/ltt.h>
-#include <ltt/event.h>
-#include <ltt/trace.h>
 #include <stdio.h>
 #include <ctype.h>
-#include <ltt/ltt-private.h>
 #include <babeltrace/ctf/events.h>
 #include <string.h>
 #include <inttypes.h>
@@ -345,11 +341,11 @@ int getCPUIdFromEvent(LttvEvent *event, GString* cpuId_str)
        return 0;
 }
 
-int getFields(struct bt_ctf_event *ctf_event, struct definition const *fields, GString* fieldsStr)
+int getFields(struct bt_ctf_event *ctf_event, struct bt_definition const *fields, GString* fieldsStr)
 {
        enum ctf_type_id fieldType = bt_ctf_field_type(bt_ctf_get_decl_from_def(fields));
        int ret = 0, isSigned = -1, len = 0, i = 0;
-       const struct definition *index_def; 
+       const struct bt_definition *index_def; 
        switch (fieldType) {
        case CTF_TYPE_INTEGER:
                isSigned = bt_ctf_get_int_signedness(bt_ctf_get_decl_from_def(fields));
@@ -395,11 +391,11 @@ int getFields(struct bt_ctf_event *ctf_event, struct definition const *fields, G
 
 int getFieldsFromEvent(struct bt_ctf_event *ctf_event, GString* fields, gboolean field_names)
 {
-       struct definition const * const *list = NULL;
+       struct bt_definition const * const *list = NULL;
        unsigned int count;
        int i = 0, ret = 0;
        gboolean noError = TRUE;
-       const struct definition *scope;
+       const struct bt_definition *scope;
        scope = bt_ctf_get_top_level_scope(ctf_event, BT_EVENT_FIELDS);
 
        if (!scope) {
This page took 0.023699 seconds and 4 git commands to generate.