Hi, The comments of this function said: Returns an allocated context on success and NULL on error
But when babeltrace use this function, it didn't check the return
value of bt_context_create:
ctx = bt_context_create();
ret = bt_context_add_traces_recursive(ctx, opt_input_path,
opt_input_format, NULL);
Could you tell me why? Thanks a lot.
Best,
Hui
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
