X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=a916f68411244fb5b6fdb9773e5f04ae700107f0;hb=d8e76ef6aa9d28ff287ec6d201c6e2be37181554;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..a916f6841 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,6 @@ 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); #endif /* _LTT_KERNEL_CTL_H */