X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.c;h=78b2563473fd370be92dc116dc57875af59c45e3;hb=92f34f1f753b8199e27272c414e166dcb9a8a0fd;hp=25cc8c1f60e51faed5df30b2f183fb47cda6d61a;hpb=d65106b1011efccf8fa5f9d7c8f2dfb0de38f5e8;p=lttng-tools.git diff --git a/libkernelctl/libkernelctl.c b/libkernelctl/libkernelctl.c index 25cc8c1f6..78b256347 100644 --- a/libkernelctl/libkernelctl.c +++ b/libkernelctl/libkernelctl.c @@ -4,8 +4,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -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); +}