[lttng-dev] [Question] the return of babeltrace's bt_context_create
Hui Zhu
teawater at gmail.com
Mon Aug 20 22:17:58 EDT 2012
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
More information about the lttng-dev
mailing list