X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng%2Fust-abi.h;fp=include%2Flttng%2Fust-abi.h;h=1c80c14408937a3f14e89c1f1125efb4c2b4edd1;hb=d37ecb3fc622dee6f80f84c21f38d32eef407262;hp=302e6a36b80cb441cca42d7a3d6a297f3fd099ea;hpb=86133cafe8f32497f53f4b469b8d3357470e7080;p=deliverable%2Flttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 302e6a36..1c80c144 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -129,6 +129,7 @@ struct lttng_ust_event_notifier { #define LTTNG_EVENT_NOTIFIER_NOTIFICATION_PADDING 32 struct lttng_ust_event_notifier_notification { uint64_t token; + uint16_t capture_buf_size; char padding[LTTNG_EVENT_NOTIFIER_NOTIFICATION_PADDING]; } LTTNG_PACKED; @@ -282,6 +283,16 @@ struct lttng_ust_filter_bytecode { char data[0]; } LTTNG_PACKED; +#define CAPTURE_BYTECODE_MAX_LEN 65536 +#define LTTNG_UST_CAPTURE_PADDING 32 +struct lttng_ust_capture_bytecode { + uint32_t len; + uint32_t reloc_offset; + uint64_t seqnum; + char padding[LTTNG_UST_CAPTURE_PADDING]; + char data[0]; +} LTTNG_PACKED; + #define LTTNG_UST_EXCLUSION_PADDING 32 struct lttng_ust_event_exclusion { uint32_t count; @@ -341,6 +352,7 @@ struct lttng_ust_event_exclusion { /* Event notifier group commands */ #define LTTNG_UST_EVENT_NOTIFIER_CREATE \ _UST_CMDW(0xB0, struct lttng_ust_event_notifier) +#define LTTNG_UST_CAPTURE _UST_CMD(0xB1) #define LTTNG_UST_ROOT_HANDLE 0