X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=b687934d67b889fa6ec40e58447aa1c8a94865d6;hb=9af5d97a36b0cd4ed5d5868855f03c810d171aad;hp=96504940ec3669941dff17ec0a7753d45f230ddd;hpb=07539b344734a4da4e6010a82acf90b47dbecebd;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 96504940..b687934d 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" { @@ -124,7 +125,7 @@ struct lttng_ust_type_integer { .struct_size = sizeof(struct lttng_ust_type_integer), \ .size = sizeof(_type) * CHAR_BIT, \ .alignment = lttng_alignof(_type) * CHAR_BIT, \ - .signedness = lttng_is_signed_type(_type), \ + .signedness = lttng_ust_is_signed_type(_type), \ .reverse_byte_order = _byte_order != BYTE_ORDER, \ .base = _base, \ })) @@ -258,7 +259,8 @@ struct lttng_ust_event_field { struct lttng_ust_event_desc { uint32_t struct_size; /* Size of this structure. */ - const char *name; + const char *event_name; + struct lttng_ust_probe_desc *probe_desc; void (*probe_callback)(void); struct lttng_event_ctx *ctx; /* context */ struct lttng_ust_event_field **fields; /* event payload */ @@ -282,7 +284,7 @@ struct lttng_ust_event_desc { struct lttng_ust_probe_desc { uint32_t struct_size; /* Size of this structure. */ - const char *provider; + const char *provider_name; struct lttng_ust_event_desc **event_desc; unsigned int nr_events; struct cds_list_head head; /* chain registered probes */