X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-ust-statedump-provider.h;h=0805d5464836c8c3b82185df9e22c4122b6a8b45;hb=b4064f282fc27c80f17166b1439442d6ddd118b2;hp=c4fa06d55b4b57abffb1b5bcd1f77e22cc58d220;hpb=7f2f82c3b336458e815e9a4ed100d7084c9e7138;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 c4fa06d5..0805d546 100644 --- a/src/lib/lttng-ust/lttng-ust-statedump-provider.h +++ b/src/lib/lttng-ust/lttng-ust-statedump-provider.h @@ -5,10 +5,10 @@ * 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(TRACEPOINT_HEADER_MULTI_READ) +#if !defined(_TRACEPOINT_LTTNG_UST_STATEDUMP_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_LTTNG_UST_STATEDUMP_H #ifdef __cplusplus @@ -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