X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=5478641b2eb66f0d6139281c2d4c7a61220f8cd4;hp=d37d6c06510528423025fd4ba250fb87651e83cd;hb=b812e5ca9073ddac9cf8db747eb6cf9bea78b85a;hpb=3a6922c6ab7b4d9455f517ac0bf86dfcede0ef3d diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index d37d6c065..5478641b2 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -111,11 +111,8 @@ extern int lttng_stop_tracing(const char *session_name); extern int lttng_stop_tracing_no_wait(const char *session_name); /* - * Calibrate LTTng overhead. - * - * The chan and handle params can not be NULL. - * - * Return 0 on success else a negative LTTng error code. + * Deprecated: As of LTTng 2.9, this function always returns + * -LTTNG_ERR_UND. */ extern int lttng_calibrate(struct lttng_handle *handle, struct lttng_calibrate *calibrate);