X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.h;h=36d7175f083d61b1f18270d49b7c4fef7059153d;hp=570388c3a39edd68b39d94982850254c0a4b83c1;hb=16421f6edd83b37e777b55add8396a91afcbb08a;hpb=471d16937e160d99382c633db37d89605f483556 diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h index 570388c3a..36d7175f0 100644 --- a/libkernelctl/libkernelctl.h +++ b/libkernelctl/libkernelctl.h @@ -1,5 +1,6 @@ /* - * Copyright (C) 2011 - David Goulet + * Copyright (C) 2011 - Julien Desfossez + * Mathieu Desnoyers * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -19,4 +20,25 @@ #ifndef _LTT_LIBKERNELCTL_H #define _LTT_LIBKERNELCTL_H +#include + +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 */