X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-kernel.h;h=e8647f439fcdd0dc7c638899504b8978179a750f;hb=6c33300eeb9bfbe39a4482b24b1178ae04466c37;hp=3dd866c75eb5fd0707a24606134e970f9c311af3;hpb=8e49ca127d75e09de47b55f171f250bf4b64f219;p=lttng-tools.git diff --git a/src/common/lttng-kernel.h b/src/common/lttng-kernel.h index 3dd866c75..e8647f439 100644 --- a/src/common/lttng-kernel.h +++ b/src/common/lttng-kernel.h @@ -178,6 +178,27 @@ struct lttng_kernel_event { } u; } LTTNG_PACKED; +#define LTTNG_KERNEL_EVENT_NOTIFIER_PADDING 40 +struct lttng_kernel_event_notifier { + struct lttng_kernel_event event; + char padding[LTTNG_KERNEL_EVENT_NOTIFIER_PADDING]; +} LTTNG_PACKED; + +#define LTTNG_KERNEL_EVENT_NOTIFIER_NOTIFICATION_PADDING 32 +struct lttng_kernel_event_notifier_notification { + uint64_t token; + uint16_t capture_buf_size; + char padding[LTTNG_KERNEL_EVENT_NOTIFIER_NOTIFICATION_PADDING]; +} LTTNG_PACKED; + +#define LTTNG_KERNEL_CAPTURE_BYTECODE_MAX_LEN 65536 +struct lttng_kernel_capture_bytecode { + uint32_t len; + uint32_t reloc_offset; + uint64_t seqnum; + char data[0]; +} LTTNG_PACKED; + struct lttng_kernel_tracer_version { uint32_t major; uint32_t minor;