diff --git a/src/profiler/tracing-cpu-profiler.cc b/src/profiler/tracing-cpu-profiler.cc index 9662753676..0cb502bdf1 100644 --- a/src/profiler/tracing-cpu-profiler.cc +++ b/src/profiler/tracing-cpu-profiler.cc @@ -13,10 +13,6 @@ namespace internal { TracingCpuProfilerImpl::TracingCpuProfilerImpl(Isolate* isolate) : isolate_(isolate), profiling_enabled_(false) { - // Make sure tracing system notices profiler categories. - TRACE_EVENT_WARMUP_CATEGORY(TRACE_DISABLED_BY_DEFAULT("v8.cpu_profiler")); - TRACE_EVENT_WARMUP_CATEGORY( - TRACE_DISABLED_BY_DEFAULT("v8.cpu_profiler.hires")); V8::GetCurrentPlatform()->GetTracingController()->AddTraceStateObserver(this); } diff --git a/src/tracing/tracing-category-observer.cc b/src/tracing/tracing-category-observer.cc index 28c107d88f..7fb8ee329a 100644 --- a/src/tracing/tracing-category-observer.cc +++ b/src/tracing/tracing-category-observer.cc @@ -19,11 +19,6 @@ void TracingCategoryObserver::SetUp() { v8::internal::V8::GetCurrentPlatform() ->GetTracingController() ->AddTraceStateObserver(TracingCategoryObserver::instance_); - TRACE_EVENT_WARMUP_CATEGORY(TRACE_DISABLED_BY_DEFAULT("v8.runtime_stats")); - TRACE_EVENT_WARMUP_CATEGORY( - TRACE_DISABLED_BY_DEFAULT("v8.runtime_stats_sampling")); - TRACE_EVENT_WARMUP_CATEGORY(TRACE_DISABLED_BY_DEFAULT("v8.gc_stats")); - TRACE_EVENT_WARMUP_CATEGORY(TRACE_DISABLED_BY_DEFAULT("v8.ic_stats")); } void TracingCategoryObserver::TearDown() {