Initial import of libkernelctl and data structures
[lttng-tools.git] / libkernelctl / libkernelctl.h
index 570388c3a39edd68b39d94982850254c0a4b83c1..36d7175f083d61b1f18270d49b7c4fef7059153d 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * 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/lttng.h>
+
+int kernctl_create_channel(int, struct lttng_channel*);
+int kernctl_create_event(int, struct lttng_event*);
+int kernctl_create_session(int);
+int kernctl_create_stream(int);
+int kernctl_get_max_subbuf_size(int, unsigned long*);
+int kernctl_get_mmap_len(int, unsigned long*);
+int kernctl_get_mmap_read_offset(int, unsigned long*);
+int kernctl_get_next_subbuf(int);
+int kernctl_get_padded_subbuf_size(int, unsigned long*);
+int kernctl_get_subbuf(int fd, unsigned long*);
+int kernctl_get_subbuf_size(int, unsigned long *);
+int kernctl_put_next_subbuf(int);
+int kernctl_put_subbuf(int fd);
+int kernctl_snapshot(int);
+int kernctl_snapshot_get_consumed(int, unsigned long*);
+int kernctl_snapshot_get_produced(int, unsigned long*);
+int kernctl_start_session(int);
+int kernctl_stop_session(int);
+
 #endif /* _LTT_LIBKERNELCTL_H */
This page took 0.023123 seconds and 4 git commands to generate.