summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index 96e88b5c11..fa241f9706 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -32,6 +32,7 @@
#include "v8.h"
#include "node_perf_common.h"
#include "node_context_data.h"
+#include "tracing/agent.h"
#include <stddef.h>
#include <stdint.h>
@@ -325,6 +326,10 @@ inline v8::Isolate* Environment::isolate() const {
return isolate_;
}
+inline tracing::Agent* Environment::tracing_agent() const {
+ return tracing_agent_;
+}
+
inline Environment* Environment::from_immediate_check_handle(
uv_check_t* handle) {
return ContainerOf(&Environment::immediate_check_handle_, handle);