mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
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:
parent
561bceeed3
commit
7f70ed243c
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user