X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.c;h=78b2563473fd370be92dc116dc57875af59c45e3;hb=49a1d1ed7e24d9598d9602d1a828faba8c1c3bd9;hp=1f30c77c0bb42e9502d6899557dae183362ddf36;hpb=82a3637f639486c07ff937ab03e1e9532379d26a;p=lttng-tools.git diff --git a/libkernelctl/libkernelctl.c b/libkernelctl/libkernelctl.c index 1f30c77c0..78b256347 100644 --- a/libkernelctl/libkernelctl.c +++ b/libkernelctl/libkernelctl.c @@ -166,3 +166,8 @@ int kernctl_wait_quiescent(int fd) { return ioctl(fd, LTTNG_KERNEL_WAIT_QUIESCENT); } + +int kernctl_calibrate(int fd, struct lttng_kernel_calibrate *calibrate) +{ + return ioctl(fd, LTTNG_KERNEL_CALIBRATE, calibrate); +}