X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Flttng-utils%2Fdebug-info.c;h=45b0f1c1efce5770474c483ce5170c0883b82517;hp=a455e47ce39978a1028af2e78070b7144ab6ddc8;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/plugins/lttng-utils/debug-info.c b/plugins/lttng-utils/debug-info.c index a455e47c..45b0f1c1 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_event *event) + const struct bt_event *event) { struct proc_debug_info_sources *proc_dbg_info_src; struct bin_info *bin = NULL; @@ -439,7 +439,7 @@ end: static void handle_statedump_debug_link_event(FILE *err, struct debug_info *debug_info, - struct bt_event *event) + const struct bt_event *event) { struct proc_debug_info_sources *proc_dbg_info_src; struct bin_info *bin = NULL; @@ -508,7 +508,7 @@ end: static void handle_bin_info_event(FILE *err, struct debug_info *debug_info, - struct bt_event *event, bool has_pic_field) + const struct bt_event *event, bool has_pic_field) { struct proc_debug_info_sources *proc_dbg_info_src; struct bin_info *bin; @@ -614,21 +614,21 @@ end: static inline void handle_statedump_bin_info_event(FILE *err, struct debug_info *debug_info, - struct bt_event *event) + const 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_event *event) + const 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_event *event) + const struct bt_event *event) { struct proc_debug_info_sources *proc_dbg_info_src; uint64_t baddr; @@ -666,7 +666,7 @@ end: static void handle_statedump_start(FILE *err, struct debug_info *debug_info, - struct bt_event *event) + const struct bt_event *event) { struct proc_debug_info_sources *proc_dbg_info_src; int64_t vpid; @@ -692,10 +692,10 @@ end: } BT_HIDDEN -void debug_info_handle_event(FILE *err, struct bt_event *event, +void debug_info_handle_event(FILE *err, const struct bt_event *event, struct debug_info *debug_info) { - struct bt_event_class *event_class; + const struct bt_event_class *event_class; const char *event_name; GQuark q_event_name;