X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.c;h=cfac1fa5c80ce32faa603315e2e5afa0a7142ca1;hb=d6e4fca46d2e8a203fca3894435dc5d7a43aa28d;hp=c06f579698619716c478a4a8df1aaaf51afe232c;hpb=9cb983500508a95363a09a5a65d2f67774c38b69;p=lttng-tools.git diff --git a/libkernelctl/libkernelctl.c b/libkernelctl/libkernelctl.c index c06f57969..cfac1fa5c 100644 --- a/libkernelctl/libkernelctl.c +++ b/libkernelctl/libkernelctl.c @@ -131,3 +131,12 @@ int kernctl_stop_session(int fd) return ioctl(fd, LTTNG_KERNEL_SESSION_STOP); } +int kernctl_tracepoint_list(int fd) +{ + return ioctl(fd, LTTNG_KERNEL_TRACEPOINT_LIST); +} + +int kernctl_tracer_version(int fd, struct lttng_kernel_tracer_version *v) +{ + return ioctl(fd, LTTNG_KERNEL_TRACER_VERSION, v); +}