X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Flttng-utils%2Fdebug-info.c;h=09e6c010216a84931e47a7b4ba2f582c5e4465f8;hb=50842bdc4c21f3de2b63e29cdac730af8b6dcca6;hp=ffc7761c7d21800eaacf8bb544dcabc9734f5f86;hpb=6606e9c14a9fc2c1b3edd81cb52c5bb15f07f855;p=babeltrace.git diff --git a/plugins/lttng-utils/debug-info.c b/plugins/lttng-utils/debug-info.c index ffc7761c..09e6c010 100644 --- a/plugins/lttng-utils/debug-info.c +++ b/plugins/lttng-utils/debug-info.c @@ -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; }