Index: src/tracing/trace-event.cc |
diff --git a/src/tracing/trace-event.cc b/src/tracing/trace-event.cc |
index 04f1f2e2ea0d0a8df9f504b24954cfc7857cd413..eabbd8273fcb0b31e1d8fe4ab7cffcf06f2f8b60 100644 |
--- a/src/tracing/trace-event.cc |
+++ b/src/tracing/trace-event.cc |
@@ -6,6 +6,10 @@ |
#include "src/v8.h" |
+// A global flag used as a shortcut to check for the |
+// v8.runtime category due to its high frequency use. |
+TRACE_EVENT_API_ATOMIC_BYTE g_runtime_calls_trace_enabled = 0; |
+ |
namespace v8 { |
namespace internal { |
namespace tracing { |