diff --git a/tools/profiler/core/platform.cpp b/tools/profiler/core/platform.cpp index e37d947a72d1..3862fd1d3208 100644 --- a/tools/profiler/core/platform.cpp +++ b/tools/profiler/core/platform.cpp @@ -3470,12 +3470,6 @@ profiler_tracing(const char* aCategory, const char* aMarkerName, racy_profiler_add_marker(aMarkerName, Move(payload)); } -PseudoStack* -profiler_get_pseudo_stack() -{ - return TLSRegisteredThread::Stack(); -} - void profiler_set_js_context(JSContext* aCx) { diff --git a/tools/profiler/public/GeckoProfiler.h b/tools/profiler/public/GeckoProfiler.h index d640b3c69f45..a70e6d5ea363 100644 --- a/tools/profiler/public/GeckoProfiler.h +++ b/tools/profiler/public/GeckoProfiler.h @@ -434,9 +434,6 @@ struct ProfilerBufferInfo // buffer is being written to, and how much data is visible. mozilla::Maybe profiler_get_buffer_info(); -// Get the current thread's PseudoStack. -PseudoStack* profiler_get_pseudo_stack(); - //--------------------------------------------------------------------------- // Put profiling data into the profiler (labels and markers) //---------------------------------------------------------------------------