From: Julien Desfossez Date: Sat, 25 Aug 2012 21:07:26 +0000 (-0400) Subject: api fix X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b208bf294cd63fdfd09ab871f60c45f20ac4d2d5;p=lttngtop.git api fix Signed-off-by: Julien Desfossez --- diff --git a/src/lttngtop.c b/src/lttngtop.c index 2d84939..47e835e 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -489,7 +489,7 @@ void iter_trace(struct bt_context *bt_ctx) NULL, NULL, NULL); } - while ((event = bt_ctf_iter_read_event(iter)) != NULL) { + while ((event = bt_ctf_iter_read_event(iter, NULL)) != NULL) { if (quit || reload_trace) goto end_iter; ret = bt_iter_next(bt_ctf_get_iter(iter));