projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: remove mi result files when done
[lttng-tools.git]
/
tests
/
regression
/
tools
/
filtering
/
tp.h
diff --git
a/tests/regression/tools/filtering/tp.h
b/tests/regression/tools/filtering/tp.h
index 15f81e5c05895ac199fc777a5fe5edf4b552c874..2872601893e72d4009a7270be97a5662156ff3b8 100644
(file)
--- 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
#if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_TP_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
@@
-26,7
+22,8
@@
extern "C" {
TRACEPOINT_EVENT(tp, tptest,
TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
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)
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_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(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)
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 <lttng/tracepoint-event.h>
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took
0.042428 seconds
and
4
git commands to generate.