/*
- * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 - Julien Desfossez <julien.desfossez@polymtl.ca>
+ * Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
#ifndef _LTT_LIBKERNELCTL_H
#define _LTT_LIBKERNELCTL_H
+#include "lttng-kernel.h"
+
+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);
+int kernctl_get_mmap_len(int fd, unsigned long *len);
+int kernctl_get_mmap_read_offset(int fd, unsigned long *len);
+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);
+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 */