Tracepoint: add ctf sequence for network byte order integers
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index 88f1a7f578cbf8fcc4a912ac42f100c20e74acfa..84a799a05d32946e8b0e92b33158a55539041c9d 100644 (file)
@@ -4,10 +4,6 @@
 #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_UST_TESTS_HELLO_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /*
  * Copyright (C) 2011  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
@@ -50,6 +46,8 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest,
                             size_t, textlen)
                ctf_sequence_text(char, seqfield2, text,
                             size_t, textlen)
+               ctf_sequence_network(long, seqfield_network_3, values,
+                            size_t, 3)
                ctf_string(stringfield, text)
                ctf_float(float, floatfield, floatarg)
                ctf_float(double, doublefield, doublearg)
@@ -70,7 +68,3 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took 0.024438 seconds and 4 git commands to generate.