X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.h;h=938c079dce979965dc2f25566537e6c44f437206;hp=eb0c7800efcad3c10949dcf70247f1149681d537;hb=8d609afd07d40f27a17e6a0fe61ea3a54e111896;hpb=d4a1283e471c152cedf6cb5ebcc74d509009145d diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h index eb0c7800e..938c079dc 100644 --- a/libkernelctl/libkernelctl.h +++ b/libkernelctl/libkernelctl.h @@ -22,8 +22,8 @@ #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,7 +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_channel *chops); +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); @@ -41,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 */