Fixes #437
Signed-off-by: David Goulet <dgoulet@efficios.com>
calibrate.type = LTTNG_CALIBRATE_FUNCTION;
ret = lttng_calibrate(handle, &calibrate);
if (ret < 0) {
calibrate.type = LTTNG_CALIBRATE_FUNCTION;
ret = lttng_calibrate(handle, &calibrate);
if (ret < 0) {
+ ERR("%s", lttng_strerror(ret));
goto error;
}
MSG("%s calibration done", opt_kernel ? "Kernel" : "UST");
goto error;
}
MSG("%s calibration done", opt_kernel ? "Kernel" : "UST");
DBG("Session count %d", count);
if (count < 0) {
ret = count;
DBG("Session count %d", count);
if (count < 0) {
ret = count;
+ ERR("%s", lttng_strerror(ret));
goto error;
} else if (count == 0) {
MSG("Currently no available tracing session");
goto error;
} else if (count == 0) {
MSG("Currently no available tracing session");