X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=d663dbb1cebd6e6d2da57e9cf904445cd8884335;hb=727d5404ea9a553a2ba569b00c4cd2fa69139bce;hp=2fbaca91ef112d75a5e5289d3dbed2bc223adf80;hpb=10a8a2237343699e3923d87e24dbf2d7fe225377;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.h b/src/bin/lttng-sessiond/kernel.h index 2fbaca91e..d663dbb1c 100644 --- a/src/bin/lttng-sessiond/kernel.h +++ b/src/bin/lttng-sessiond/kernel.h @@ -29,7 +29,7 @@ * This is NOT an upper bound because if the real event list size is bigger, * dynamic reallocation is performed. */ -#define KERNEL_EVENT_LIST_SIZE 80 +#define KERNEL_EVENT_INIT_LIST_SIZE 64 int kernel_add_channel_context(struct ltt_kernel_channel *chan, struct lttng_kernel_context *ctx); @@ -53,5 +53,8 @@ int kernel_stop_session(struct ltt_kernel_session *session); ssize_t kernel_list_events(int tracer_fd, struct lttng_event **event_list); void kernel_wait_quiescent(int fd); int kernel_calibrate(int fd, struct lttng_kernel_calibrate *calibrate); +int kernel_validate_version(int tracer_fd); + +int init_kernel_workarounds(void); #endif /* _LTT_KERNEL_CTL_H */