X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-ust-statedump-provider.h;h=0805d5464836c8c3b82185df9e22c4122b6a8b45;hb=b4064f282fc27c80f17166b1439442d6ddd118b2;hp=3fbcf8d2aef5d7847b19217ae386ee3bff971ae5;hpb=c2c72ddee62023174ab8c130c0b51800a8fb01e9;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-ust-statedump-provider.h b/src/lib/lttng-ust/lttng-ust-statedump-provider.h index 3fbcf8d2..0805d546 100644 --- a/src/lib/lttng-ust/lttng-ust-statedump-provider.h +++ b/src/lib/lttng-ust/lttng-ust-statedump-provider.h @@ -5,8 +5,8 @@ * Copyright (C) 2015 Antoine Busque */ -#undef TRACEPOINT_PROVIDER -#define TRACEPOINT_PROVIDER lttng_ust_statedump +#undef LTTNG_UST_TRACEPOINT_PROVIDER +#define LTTNG_UST_TRACEPOINT_PROVIDER lttng_ust_statedump #if !defined(_TRACEPOINT_LTTNG_UST_STATEDUMP_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_LTTNG_UST_STATEDUMP_H @@ -42,12 +42,12 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_statedump, bin_info, ), LTTNG_UST_TP_FIELDS( ctf_unused(session) - ctf_integer_hex(void *, baddr, baddr) - ctf_integer(uint64_t, memsz, memsz) + lttng_ust_field_integer_hex(void *, baddr, baddr) + lttng_ust_field_integer(uint64_t, memsz, memsz) ctf_string(path, path) - ctf_integer(uint8_t, is_pic, is_pic) - ctf_integer(uint8_t, has_build_id, has_build_id) - ctf_integer(uint8_t, has_debug_link, has_debug_link) + lttng_ust_field_integer(uint8_t, is_pic, is_pic) + lttng_ust_field_integer(uint8_t, has_build_id, has_build_id) + lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link) ) ) @@ -60,7 +60,7 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_statedump, build_id, ), LTTNG_UST_TP_FIELDS( ctf_unused(session) - ctf_integer_hex(void *, baddr, baddr) + lttng_ust_field_integer_hex(void *, baddr, baddr) ctf_sequence_hex(uint8_t, build_id, build_id, size_t, build_id_len) ) @@ -75,8 +75,8 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_statedump, debug_link, ), LTTNG_UST_TP_FIELDS( ctf_unused(session) - ctf_integer_hex(void *, baddr, baddr) - ctf_integer(uint32_t, crc, crc) + lttng_ust_field_integer_hex(void *, baddr, baddr) + lttng_ust_field_integer(uint32_t, crc, crc) ctf_string(filename, filename) ) ) @@ -101,8 +101,8 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_statedump, end, #endif /* _TRACEPOINT_LTTNG_UST_STATEDUMP_H */ -#undef TRACEPOINT_INCLUDE -#define TRACEPOINT_INCLUDE "./lttng-ust-statedump-provider.h" +#undef LTTNG_UST_TRACEPOINT_INCLUDE +#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-statedump-provider.h" /* This part must be outside ifdef protection */ #include