summaryrefslogtreecommitdiff
path: root/src/node_lttng_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_lttng_provider.h')
-rw-r--r--src/node_lttng_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_lttng_provider.h b/src/node_lttng_provider.h
index 2b5b9be8d3..5913f39752 100644
--- a/src/node_lttng_provider.h
+++ b/src/node_lttng_provider.h
@@ -1,6 +1,8 @@
#ifndef SRC_NODE_LTTNG_PROVIDER_H_
#define SRC_NODE_LTTNG_PROVIDER_H_
+#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE
#include "node_lttng_tp.h"
@@ -99,4 +101,6 @@ bool NODE_NET_STREAM_END_ENABLED() { return true; }
} // namespace node
+#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#endif // SRC_NODE_LTTNG_PROVIDER_H_