зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1903080 - Remove useless include r=padenot,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D213993
This commit is contained in:
Родитель
57b7567b51
Коммит
02c01eae86
|
@ -292,12 +292,18 @@ void uprofiler_simple_event_marker(const char* name, const char category,
|
|||
}
|
||||
|
||||
bool uprofiler_backtrace_into_buffer(NativeStack* aNativeStack, void* aBuffer) {
|
||||
#if defined(MOZ_GECKO_PROFILER)
|
||||
return profiler_backtrace_into_buffer(
|
||||
*(static_cast<mozilla::ProfileChunkedBuffer*>(aBuffer)), *aNativeStack);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void uprofiler_native_backtrace(const void* top, NativeStack* nativeStack) {
|
||||
#if defined(MOZ_GECKO_PROFILER)
|
||||
DoNativeBacktraceDirect(top, *nativeStack, nullptr);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool uprofiler_is_active() { return profiler_is_active(); }
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#ifndef ProfilerStackWalk_h
|
||||
#define ProfilerStackWalk_h
|
||||
|
||||
#include "PlatformMacros.h"
|
||||
#include "ProfilerNativeStack.h"
|
||||
|
||||
#include "mozilla/ProfileChunkedBuffer.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче