X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-abi.h;h=6fa9a94db0472154679bcc1af5ab9d0630d5a1db;hb=98c8a1d90d1052980365353eef201124863128b0;hp=a72d67ef6ce837e2187a3632425f16a8255fdb4f;hpb=5b4839a83a25b95484a4689082fb44bcc8906ef9;p=lttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index a72d67ef..6fa9a94d 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]; }; @@ -173,8 +174,8 @@ struct lttng_ust_calibrate { #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; char data[0]; }; @@ -248,7 +249,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 +261,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 */