X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.c;fp=libkernelctl%2Flibkernelctl.c;h=78b2563473fd370be92dc116dc57875af59c45e3;hp=1f30c77c0bb42e9502d6899557dae183362ddf36;hb=d0254c7c0bb43c62abafdf866b16de0da1ad4d5d;hpb=d2abc4ee14cc1bb86ffa6cd024f18a671de8a32c 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); +}