From: Philippe Proulx Date: Mon, 4 Jul 2016 21:47:30 +0000 (-0400) Subject: tests/hello.cxx: add ctf_enum_auto() entries X-Git-Tag: v2.9.0-rc1~45 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=152ba2822ce0dc11947169d2fffe6e0a26a02573;p=lttng-ust.git tests/hello.cxx: add ctf_enum_auto() entries Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/hello.cxx/ust_tests_hello.h b/tests/hello.cxx/ust_tests_hello.h index b99899dc..ddb83587 100644 --- a/tests/hello.cxx/ust_tests_hello.h +++ b/tests/hello.cxx/ust_tests_hello.h @@ -32,9 +32,10 @@ TRACEPOINT_ENUM(ust_tests_hello, my_enum, TP_ENUM_VALUES( ctf_enum_value("zero", 0) ctf_enum_value("one", 1) - ctf_enum_value("two", 2) + ctf_enum_auto("two") ctf_enum_value("three", 3) ctf_enum_range("ten to twenty", 10, 20) + ctf_enum_auto("21!") ) )