X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtop.c;h=dc5711ea91402ede478a3662184d6ffcdc57f498;hp=dfa1d14c5502b55a21528555c39a905b4cb2af9b;hb=59288610ca44efca4b68b954b7ffccd06fecd2b7;hpb=5827765941cff09d13353fc49d88071a3beefa97 diff --git a/src/lttngtop.c b/src/lttngtop.c index dfa1d14..dc5711e 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -429,13 +429,12 @@ void iter_trace(struct bt_context *bt_ctx) bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_close"), NULL, 0, handle_sys_close, NULL, NULL, NULL); -/* bt_ctf_iter_add_callback(iter, g_quark_from_static_string( "lttng_statedump_file_descriptor"), NULL, 0, handle_statedump_file_descriptor, NULL, NULL, NULL); -*/ + while ((event = bt_ctf_iter_read_event(iter)) != NULL) { ret = bt_iter_next(bt_ctf_get_iter(iter)); if (ret < 0)