X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdebug-info.c;h=eff5134b13e890d8f17c420aedca7fab492d0755;hb=f3985ab106d89d8e764c1a8dd0c8bda09b755d10;hp=6acf174655b2b71c16f18eac26c8937d0b2c770c;hpb=93830bc19f9db43f419eeecd8d292a5902d1c712;p=babeltrace.git diff --git a/lib/debug-info.c b/lib/debug-info.c index 6acf1746..eff5134b 100644 --- a/lib/debug-info.c +++ b/lib/debug-info.c @@ -66,17 +66,17 @@ struct debug_info { static int debug_info_init(struct debug_info *info) { - info->q_statedump_bin_info = g_quark_from_static_string( + info->q_statedump_bin_info = g_quark_from_string( "lttng_ust_statedump:bin_info"); - info->q_statedump_debug_link = g_quark_from_static_string( + info->q_statedump_debug_link = g_quark_from_string( "lttng_ust_statedump:debug_link)"); - info->q_statedump_build_id = g_quark_from_static_string( + info->q_statedump_build_id = g_quark_from_string( "lttng_ust_statedump:build_id"); - info->q_statedump_start = g_quark_from_static_string( + info->q_statedump_start = g_quark_from_string( "lttng_ust_statedump:start"); - info->q_dl_open = g_quark_from_static_string("lttng_ust_dl:dlopen"); - info->q_lib_load = g_quark_from_static_string("lttng_ust_lib:load"); - info->q_lib_unload = g_quark_from_static_string("lttng_ust_lib:unload"); + info->q_dl_open = g_quark_from_string("lttng_ust_dl:dlopen"); + info->q_lib_load = g_quark_from_string("lttng_ust_lib:load"); + info->q_lib_unload = g_quark_from_string("lttng_ust_lib:unload"); return bin_info_init(); } @@ -863,10 +863,11 @@ void debug_info_handle_event(struct debug_info *debug_info, handle_statedump_build_id_event(debug_info, event); } else if (event_class->name == debug_info-> q_lib_unload) { handle_lib_unload_event(debug_info, event); - } else { - /* Other events: register debug infos */ - register_event_debug_infos(debug_info, event); } + + /* All events: register debug infos */ + register_event_debug_infos(debug_info, event); + end: return; }