mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
This commit is contained in:
parent
3fe8aff3f5
commit
1a823f5ad6
113 changed files with 12 additions and 24501 deletions
|
|
@ -79,8 +79,6 @@ enum TracingMetadata {
|
|||
TRACING_TIMESTAMP
|
||||
};
|
||||
|
||||
#if !defined(MOZ_ENABLE_PROFILER_SPS)
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
@ -248,12 +246,6 @@ static inline bool profiler_in_privacy_mode() { return false; }
|
|||
static inline void profiler_log(const char *str) {}
|
||||
static inline void profiler_log(const char *fmt, va_list args) {}
|
||||
|
||||
#else
|
||||
|
||||
#include "GeckoProfilerImpl.h"
|
||||
|
||||
#endif
|
||||
|
||||
class MOZ_RAII GeckoProfilerInitRAII {
|
||||
public:
|
||||
explicit GeckoProfilerInitRAII(void* stackTop) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue