X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=c0fe201d6720e68c70e1f3624c51b296a125fa52;hp=35f7368d14773d4ed5430115792ee4196d7404a4;hb=0a9c649428b2ea8d4e743aebc12585eeb58fcf64;hpb=2f77fc4b3720dc8f75847130498c2d4aad7c03ec diff --git a/src/bin/lttng-sessiond/kernel.h b/src/bin/lttng-sessiond/kernel.h index 35f7368d1..c0fe201d6 100644 --- a/src/bin/lttng-sessiond/kernel.h +++ b/src/bin/lttng-sessiond/kernel.h @@ -32,11 +32,9 @@ int kernel_add_channel_context(struct ltt_kernel_channel *chan, struct lttng_kernel_context *ctx); -int kernel_add_event_context(struct ltt_kernel_event *event, - struct lttng_kernel_context *ctx); int kernel_create_session(struct ltt_session *session, int tracer_fd); int kernel_create_channel(struct ltt_kernel_session *session, - struct lttng_channel *chan, char *path); + struct lttng_channel *chan); int kernel_create_event(struct lttng_event *ev, struct ltt_kernel_channel *channel); int kernel_disable_channel(struct ltt_kernel_channel *chan); int kernel_disable_event(struct ltt_kernel_event *event); @@ -54,6 +52,7 @@ void kernel_wait_quiescent(int fd); int kernel_calibrate(int fd, struct lttng_kernel_calibrate *calibrate); int kernel_validate_version(int tracer_fd); void kernel_destroy_session(struct ltt_kernel_session *ksess); +void kernel_destroy_channel(struct ltt_kernel_channel *kchan); int init_kernel_workarounds(void);