X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttngtop.c;h=8dc96ae33e27be3d7732313f79074af225511b9f;hb=14a97415ba61ac79cec3d315a8b31feae48cc7a5;hp=52bf6e98bf77e7cd9a9d484f442db94e9afbb9ad;hpb=c263c4eb55ebd2b6caf659a7f524f9543df41544;p=lttngtop.git 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)