From: Jonathan Rajotte Date: Thu, 21 May 2020 13:45:25 +0000 (-0400) Subject: Test: add signed value and enum for testings of event notifier capture X-Git-Tag: v2.13.0-rc1~158 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2cf32e6b28de583d3b325728d665463388dcb13c;p=lttng-modules.git Test: add signed value and enum for testings of event notifier capture Signed-off-by: Jonathan Rajotte Signed-off-by: Mathieu Desnoyers Change-Id: I4be725e3ed1e2f94420f4cdcf5ab6ac7962e2464 --- diff --git a/include/instrumentation/events/lttng-test.h b/include/instrumentation/events/lttng-test.h index 7d2b1f7c..eda5d9fe 100644 --- a/include/instrumentation/events/lttng-test.h +++ b/include/instrumentation/events/lttng-test.h @@ -18,6 +18,7 @@ LTTNG_TRACEPOINT_ENUM( ctf_enum_auto("AUTO: EXPECT 28") ctf_enum_range("RANGE: 101 TO 303", 101, 303) ctf_enum_auto("AUTO: EXPECT 304") + ctf_enum_value("VALUE: -1", -1) ) ) @@ -30,6 +31,7 @@ LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, ctf_integer(int, intfield, anint) ctf_integer_hex(int, intfield2, anint) ctf_integer(long, longfield, anint) + ctf_integer(int, signedfield, -1) ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3) @@ -49,6 +51,7 @@ LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, ctf_enum(lttng_test_filter_event_enum, int, enum28, 28) ctf_enum(lttng_test_filter_event_enum, int, enum202, 202) ctf_enum(lttng_test_filter_event_enum, int, enum304, 304) + ctf_enum(lttng_test_filter_event_enum, int, enumnegative, -1) ) )