X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtop.c;h=8dc96ae33e27be3d7732313f79074af225511b9f;hp=52bf6e98bf77e7cd9a9d484f442db94e9afbb9ad;hb=b093de8aa1ac7555d20b3aa4227d4675b39ef008;hpb=45a6c62f2818a6911c64caa3241fb1b97bb30439 diff --git a/src/lttngtop.c b/src/lttngtop.c index 52bf6e9..8dc96ae 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -431,6 +431,13 @@ void iter_trace(struct bt_context *bt_ctx) bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_read"), NULL, 0, handle_sys_read, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("sys_open"), + NULL, 0, handle_sys_open, NULL, NULL, NULL); + + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("sys_close"), + NULL, 0, handle_sys_close, NULL, NULL, NULL); while ((event = bt_ctf_iter_read_event(iter)) != NULL) { ret = bt_iter_next(bt_ctf_get_iter(iter)); if (ret < 0)