projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint probes don't need extern C
[lttng-ust.git]
/
tools
/
lttng-gen-tp
diff --git
a/tools/lttng-gen-tp
b/tools/lttng-gen-tp
index 8ae243f682360b2916985dad0bc39facb60b5904..1b8439f3c71258bfaac2b3bd29358904401800f6 100755
(executable)
--- a/
tools/lttng-gen-tp
+++ b/
tools/lttng-gen-tp
@@
-35,11
+35,6
@@
class HeaderFile:
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./{headerFilename}"
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./{headerFilename}"
-#ifdef __cplusplus
-extern "C"{{
-#endif /* __cplusplus */
-
-
#if !defined({includeGuard}) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define {includeGuard}
#if !defined({includeGuard}) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define {includeGuard}
@@
-50,11
+45,6
@@
extern "C"{{
#endif /* {includeGuard} */
#include <lttng/tracepoint-event.h>
#endif /* {includeGuard} */
#include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}}
-#endif /* __cplusplus */
-
"""
def __init__(self, filename, template):
self.outputFilename = filename
"""
def __init__(self, filename, template):
self.outputFilename = filename
This page took
0.023281 seconds
and
4
git commands to generate.