X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2Ftp.h;h=2872601893e72d4009a7270be97a5662156ff3b8;hp=15f81e5c05895ac199fc777a5fe5edf4b552c874;hb=bff988fac4f8d1ffab3f85f0eec9546c76e57706;hpb=5d2e1e66a968d9e555f9b8b00d0589ebfaf3de32 diff --git a/tests/regression/tools/filtering/tp.h b/tests/regression/tools/filtering/tp.h index 15f81e5c0..287260189 100644 --- a/tests/regression/tools/filtering/tp.h +++ b/tests/regression/tools/filtering/tp.h @@ -4,10 +4,6 @@ #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_TP_H -#ifdef __cplusplus -extern "C" { -#endif - /* * Copyright (C) 2011 Mathieu Desnoyers * @@ -26,7 +22,8 @@ extern "C" { TRACEPOINT_EVENT(tp, tptest, TP_ARGS(int, anint, int, netint, long *, values, char *, text, size_t, textlen, - char *, etext, double, doublearg, float, floatarg), + char *, etext, double, doublearg, float, floatarg, + uint32_t *, net_values), TP_FIELDS( ctf_integer(int, intfield, anint) ctf_integer_hex(int, intfield2, anint) @@ -35,8 +32,11 @@ TRACEPOINT_EVENT(tp, tptest, ctf_integer_network_hex(int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3) ctf_array_text(char, arrfield2, text, 10) + ctf_array_network(uint32_t, arrfield3, net_values, 3) ctf_sequence(char, seqfield1, text, size_t, textlen) ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_sequence_network(uint32_t, seqfield3, net_values, size_t, 3) + ctf_sequence(long, seqfield4, values, size_t, 3) ctf_string(stringfield, text) ctf_string(stringfield2, etext) ctf_float(float, floatfield, floatarg) @@ -51,7 +51,3 @@ TRACEPOINT_EVENT(tp, tptest, /* This part must be outside ifdef protection */ #include - -#ifdef __cplusplus -} -#endif