Rename bt_ctf_X -> bt_X, maintain backward compat. for pre-2.0 CTF writer
[babeltrace.git] / plugins / lttng-utils / debug-info.c
index ffc7761c7d21800eaacf8bb544dcabc9734f5f86..09e6c010216a84931e47a7b4ba2f582c5e4465f8 100644 (file)
@@ -373,7 +373,7 @@ end:
 
 static
 void handle_statedump_build_id_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        struct proc_debug_info_sources *proc_dbg_info_src;
        struct bin_info *bin = NULL;
@@ -437,7 +437,7 @@ end:
 
 static
 void handle_statedump_debug_link_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        struct proc_debug_info_sources *proc_dbg_info_src;
        struct bin_info *bin = NULL;
@@ -502,7 +502,7 @@ end:
 
 static
 void handle_bin_info_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event, bool has_pic_field)
+               struct bt_event *event, bool has_pic_field)
 {
        struct proc_debug_info_sources *proc_dbg_info_src;
        struct bin_info *bin;
@@ -605,21 +605,21 @@ end:
 
 static inline
 void handle_statedump_bin_info_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        handle_bin_info_event(err, debug_info, event, true);
 }
 
 static inline
 void handle_lib_load_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        handle_bin_info_event(err, debug_info, event, false);
 }
 
 static inline
 void handle_lib_unload_event(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        struct proc_debug_info_sources *proc_dbg_info_src;
        uint64_t baddr;
@@ -656,7 +656,7 @@ end:
 
 static
 void handle_statedump_start(FILE *err, struct debug_info *debug_info,
-               struct bt_ctf_event *event)
+               struct bt_event *event)
 {
        struct proc_debug_info_sources *proc_dbg_info_src;
        int64_t vpid;
@@ -682,21 +682,21 @@ end:
 }
 
 BT_HIDDEN
-void debug_info_handle_event(FILE *err, struct bt_ctf_event *event,
+void debug_info_handle_event(FILE *err, struct bt_event *event,
                struct debug_info *debug_info)
 {
-       struct bt_ctf_event_class *event_class;
+       struct bt_event_class *event_class;
        const char *event_name;
        GQuark q_event_name;
 
        if (!debug_info || !event) {
                goto end;
        }
-       event_class = bt_ctf_event_get_class(event);
+       event_class = bt_event_get_class(event);
        if (!event_class) {
                goto end;
        }
-       event_name = bt_ctf_event_class_get_name(event_class);
+       event_name = bt_event_class_get_name(event_class);
        if (!event_name) {
                goto end_put_class;
        }
This page took 0.024887 seconds and 4 git commands to generate.