projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libust 2.0 + ringbuffer + TRACEPOINT_EVENT builds and runs
[ust.git]
/
tests
/
hello
/
tp.h
diff --git
a/tests/hello/tp.h
b/tests/hello/tp.h
index e363971b2d8dc7495a085cf8d7ed74f5f47554f7..606f0f1392eaf9bd0cb4ab92fe80495b7be778e3 100644
(file)
--- a/
tests/hello/tp.h
+++ b/
tests/hello/tp.h
@@
-1,8
+1,8
@@
-#undef TRACE_SYSTEM
-#define TRACE_SYSTEM tp
+#undef TRACE
POINT
_SYSTEM
+#define TRACE
POINT
_SYSTEM tp
-#if !defined(_TRACE
_TP_H) || defined(TRACE
_HEADER_MULTI_READ)
-#define _TRACE_TP_H
+#if !defined(_TRACE
POINT_TP_H) || defined(TRACEPOINT
_HEADER_MULTI_READ)
+#define _TRACE
POINT
_TP_H
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
@@
-24,20
+24,20
@@
#include <ust/tracepoint.h>
#include <ust/tracepoint.h>
-TRACEPOINT_EVENT(hello_tptest,
+TRACEPOINT_EVENT(
ust_tests_
hello_tptest,
TP_PROTO(int anint),
TP_ARGS(anint),
TP_PROTO(int anint),
TP_ARGS(anint),
- TP_FIELDS())
;
+ TP_FIELDS())
-TRACEPOINT_EVENT_NOARGS(
hello_tptest2
,
- TP_FIELDS())
;
+TRACEPOINT_EVENT_NOARGS(
ust_tests_hello_tptest_sighandler
,
+ TP_FIELDS())
-#endif /* _TRACE_TP_H */
+#endif /* _TRACE
POINT
_TP_H */
-#undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
-#undef TRACE_INCLUDE_FILE
-#define TRACE_INCLUDE_FILE tp
+#undef TRACE
POINT
_INCLUDE_PATH
+#define TRACE
POINT
_INCLUDE_PATH .
+#undef TRACE
POINT
_INCLUDE_FILE
+#define TRACE
POINT
_INCLUDE_FILE tp
/* This part must be outside protection */
/* This part must be outside protection */
-#include <ust/tracepoint
_
event.h>
+#include <ust/tracepoint
-
event.h>
This page took
0.024526 seconds
and
4
git commands to generate.