X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fcompile%2Fhello.cxx%2Fhello.cpp;h=bd40323ef37647140c29bf492932de321c260fd2;hb=4b4a133740c87d9a851023a7aeb06b78d887e51b;hp=e9591b843dda3d10f98f0a37473bf184afd4bf5d;hpb=5f6daaef86c3b4cff5af523cbbd8f2630634259d;p=lttng-ust.git diff --git a/tests/compile/hello.cxx/hello.cpp b/tests/compile/hello.cxx/hello.cpp index e9591b84..bd40323e 100644 --- a/tests/compile/hello.cxx/hello.cpp +++ b/tests/compile/hello.cxx/hello.cpp @@ -20,12 +20,14 @@ #define TRACEPOINT_DEFINE #include "ust_tests_hello.h" +static void inthandler(int sig) { printf("in SIGUSR1 handler\n"); tracepoint(ust_tests_hello, tptest_sighandler); } +static int init_int_handler(void) { int result;