X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.c;fp=libkernelctl%2Flibkernelctl.c;h=cfac1fa5c80ce32faa603315e2e5afa0a7142ca1;hp=c06f579698619716c478a4a8df1aaaf51afe232c;hb=8d609afd07d40f27a17e6a0fe61ea3a54e111896;hpb=a5c5a2bd8c78b788f6094d80c188af0db78c17ec 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); +}