X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-abi.h;h=1ae1fa7dffa1e01cec7760296c0d37d75df30df3;hb=3f6fd224cc31bdab2e3d8430c3e5e9ff17862c14;hp=766a7e6a9b11c3f85844dffa2378f0c47d0c4cca;hpb=0f4eaec3e738fa0f33296a46fe08266a60787c23;p=lttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 766a7e6a..1ae1fa7d 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -99,12 +99,13 @@ enum lttng_ust_field_type { LTTNG_UST_FIELD_STRING = 4, }; -#define LTTNG_UST_FIELD_ITER_PADDING LTTNG_UST_SYM_NAME_LEN + 32 +#define LTTNG_UST_FIELD_ITER_PADDING LTTNG_UST_SYM_NAME_LEN + 28 struct lttng_ust_field_iter { char event_name[LTTNG_UST_SYM_NAME_LEN]; char field_name[LTTNG_UST_SYM_NAME_LEN]; enum lttng_ust_field_type type; int loglevel; /* event loglevel */ + int nowrite; char padding[LTTNG_UST_FIELD_ITER_PADDING]; }; @@ -171,10 +172,11 @@ struct lttng_ust_calibrate { } u; }; -#define FILTER_BYTECODE_MAX_LEN 65535 +#define FILTER_BYTECODE_MAX_LEN 65536 struct lttng_ust_filter_bytecode { - uint16_t len; - uint16_t reloc_offset; + uint32_t len; + uint32_t reloc_offset; + uint64_t seqnum; char data[0]; }; @@ -248,7 +250,7 @@ union ust_args { struct lttng_ust_objd_ops { long (*cmd)(int objd, unsigned int cmd, unsigned long arg, - union ust_args *args); + union ust_args *args, void *owner); int (*release)(int objd); }; @@ -260,5 +262,6 @@ int lttng_ust_objd_unref(int id); void lttng_ust_abi_exit(void); void lttng_ust_events_exit(void); +void lttng_ust_objd_table_owner_cleanup(void *owner); #endif /* _LTTNG_UST_ABI_H */