Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index 9c629ce936e6319e44c30dbf1913b6a6e8acf870..34fbca4feacda2ca3b7eec59b054b107bb32c5b4 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -88,17 +88,16 @@ |
V8_NOINLINE static Type Stats_##Name(int args_length, Object** args_object, \ |
Isolate* isolate) { \ |
RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Name); \ |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.runtime"), \ |
+ "V8.Runtime_" #Name); \ |
Arguments args(args_length, args_object); \ |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( \ |
- isolate, &tracing::TraceEventStatsTable::Name); \ |
return __RT_impl_##Name(args, isolate); \ |
} \ |
\ |
Type Name(int args_length, Object** args_object, Isolate* isolate) { \ |
CHECK(isolate->context() == nullptr || isolate->context()->IsContext()); \ |
CLOBBER_DOUBLE_REGISTERS(); \ |
- if (V8_UNLIKELY(TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() || \ |
- FLAG_runtime_call_stats)) { \ |
+ if (FLAG_runtime_call_stats) { \ |
return Stats_##Name(args_length, args_object, isolate); \ |
} \ |
Arguments args(args_length, args_object); \ |