Bug 1900846: Remove duplicate definitions of perfetto macros. r=canaltinova,profiler-reviewers

This patch removes some duplicate macro definitions for the perfetto macro's, such as TRACE_EVENT_BEGIN.  They are not currently used and are mapped to no-op's in this file.

Differential Revision: https://phabricator.services.mozilla.com/D217412
This commit is contained in:
Denis Palmeiro 2024-07-26 01:46:39 +00:00
parent 561bceeed3
commit 7f70ed243c

View File

@ -28,14 +28,6 @@
do { \
} while (0)
// TODO(b/42226290): Add implementation for these events with Perfetto.
#define TRACE_EVENT_BEGIN(category, name, ...) RTC_NOOP();
#define TRACE_EVENT_END(category, ...) RTC_NOOP();
#define TRACE_EVENT(category, name, ...) RTC_NOOP();
#define TRACE_EVENT_INSTANT(category, name, ...) RTC_NOOP();
#define TRACE_EVENT_CATEGORY_ENABLED(category) RTC_NOOP();
#define TRACE_COUNTER(category, track, ...) RTC_NOOP();
// Type values for identifying types in the TraceValue union.
#define TRACE_VALUE_TYPE_BOOL (static_cast<unsigned char>(1))
#define TRACE_VALUE_TYPE_UINT (static_cast<unsigned char>(2))