projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git]
/
tests
/
compile
/
hello.cxx
/
hello.cpp
diff --git
a/tests/compile/hello.cxx/hello.cpp
b/tests/compile/hello.cxx/hello.cpp
index bd40323ef37647140c29bf492932de321c260fd2..e031279bec0ae3ac2f52364c1f28b9ce3a64938c 100644
(file)
--- a/
tests/compile/hello.cxx/hello.cpp
+++ b/
tests/compile/hello.cxx/hello.cpp
@@
-17,11
+17,11
@@
#include <arpa/inet.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <stdlib.h>
-#define TRACEPOINT_DEFINE
+#define
LTTNG_UST_
TRACEPOINT_DEFINE
#include "ust_tests_hello.h"
static
#include "ust_tests_hello.h"
static
-void inthandler(int sig)
+void inthandler(int sig
__attribute__((unused))
)
{
printf("in SIGUSR1 handler\n");
tracepoint(ust_tests_hello, tptest_sighandler);
{
printf("in SIGUSR1 handler\n");
tracepoint(ust_tests_hello, tptest_sighandler);
This page took
0.024132 seconds
and
4
git commands to generate.