X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.h;h=938c079dce979965dc2f25566537e6c44f437206;hp=048e0b0e0fffd41f43642c98a4943ab02eefe28d;hb=8d609afd07d40f27a17e6a0fe61ea3a54e111896;hpb=50dc1fa67a38503ba9426e3d78edb17f48446796 diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h index 048e0b0e0..938c079dc 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); @@ -40,5 +41,7 @@ int kernctl_snapshot_get_consumed(int fd, unsigned long *len); int kernctl_snapshot_get_produced(int fd, unsigned long *len); int kernctl_start_session(int fd); int kernctl_stop_session(int fd); +int kernctl_tracepoint_list(int fd); +int kernctl_tracer_version(int fd, struct lttng_kernel_tracer_version *v); #endif /* _LTT_LIBKERNELCTL_H */