Index: src/libplatform/tracing/trace-config.cc |
diff --git a/src/libplatform/tracing/trace-config.cc b/src/libplatform/tracing/trace-config.cc |
index bfb5e04c43abab20f54f200474a9fce8a2dfa001..7a824f614ed8ae476c4667e829eda7861f96ce74 100644 |
--- a/src/libplatform/tracing/trace-config.cc |
+++ b/src/libplatform/tracing/trace-config.cc |
@@ -14,6 +14,12 @@ class Isolate; |
namespace platform { |
namespace tracing { |
+TraceConfig* TraceConfig::CreateDefaultTraceConfig() { |
+ TraceConfig* trace_config = new TraceConfig(); |
+ trace_config->included_categories_.push_back("v8"); |
+ return trace_config; |
+} |
+ |
bool TraceConfig::IsCategoryGroupEnabled(const char* category_group) const { |
for (auto included_category : included_categories_) { |
if (strcmp(included_category.data(), category_group) == 0) return true; |