X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.h;h=34be7a5d3546142b167cfbc8e4048b20e5cd69d3;hp=048e0b0e0fffd41f43642c98a4943ab02eefe28d;hb=a5c5a2bd8c78b788f6094d80c188af0db78c17ec;hpb=50dc1fa67a38503ba9426e3d78edb17f48446796 diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h index 048e0b0e0..34be7a5d3 100644 --- a/libkernelctl/libkernelctl.h +++ b/libkernelctl/libkernelctl.h @@ -20,10 +20,10 @@ #ifndef _LTT_LIBKERNELCTL_H #define _LTT_LIBKERNELCTL_H -#include +#include "lttng-kernel.h" -int kernctl_create_channel(int fd, struct lttng_channel *chops); -int kernctl_create_event(int fd, struct lttng_event *ev); +int kernctl_create_channel(int fd, struct lttng_kernel_channel *chops); +int kernctl_create_event(int fd, struct lttng_kernel_event *ev); int kernctl_create_session(int fd); int kernctl_create_stream(int fd); int kernctl_get_max_subbuf_size(int fd, unsigned long *len); @@ -33,6 +33,7 @@ int kernctl_get_next_subbuf(int fd); int kernctl_get_padded_subbuf_size(int fd, unsigned long *len); int kernctl_get_subbuf(int fd, unsigned long *len); int kernctl_get_subbuf_size(int fd, unsigned long *len); +int kernctl_open_metadata(int fd, struct lttng_kernel_channel *chops); int kernctl_put_next_subbuf(int fd); int kernctl_put_subbuf(int fd); int kernctl_snapshot(int fd);