Fix: statedump: invalid read during iter_end
[lttng-ust.git] / src / lib / lttng-ust / ust_lib.h
index f60e8fd7a7e8ad09bd7b8d625ac93718617ca44e..63269f0ba55d22dbfa75a9bf9d8f86eb6fd19902 100644 (file)
@@ -28,10 +28,10 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_lib, load,
                uint64_t, memsz, uint8_t, has_build_id,
                uint8_t, has_debug_link),
        LTTNG_UST_TP_FIELDS(
-               ctf_unused(ip)
+               lttng_ust_field_unused(ip)
                lttng_ust_field_integer_hex(void *, baddr, baddr)
                lttng_ust_field_integer(uint64_t, memsz, memsz)
-               ctf_string(path, path)
+               lttng_ust_field_string(path, path)
                lttng_ust_field_integer(uint8_t, has_build_id, has_build_id)
                lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link)
        )
@@ -45,9 +45,9 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_lib, build_id,
                size_t, build_id_len
        ),
        LTTNG_UST_TP_FIELDS(
-               ctf_unused(ip)
+               lttng_ust_field_unused(ip)
                lttng_ust_field_integer_hex(void *, baddr, baddr)
-               ctf_sequence_hex(uint8_t, build_id, build_id,
+               lttng_ust_field_sequence_hex(uint8_t, build_id, build_id,
                        size_t, build_id_len)
        )
 )
@@ -60,17 +60,17 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_lib, debug_link,
                uint32_t, crc
        ),
        LTTNG_UST_TP_FIELDS(
-               ctf_unused(ip)
+               lttng_ust_field_unused(ip)
                lttng_ust_field_integer_hex(void *, baddr, baddr)
                lttng_ust_field_integer(uint32_t, crc, crc)
-               ctf_string(filename, filename)
+               lttng_ust_field_string(filename, filename)
        )
 )
 
 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_lib, unload,
        LTTNG_UST_TP_ARGS(void *, ip, void *, baddr),
        LTTNG_UST_TP_FIELDS(
-               ctf_unused(ip)
+               lttng_ust_field_unused(ip)
                lttng_ust_field_integer_hex(void *, baddr, baddr)
        )
 )
This page took 0.024966 seconds and 4 git commands to generate.