34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
|
|
/*
|
||
|
|
* Copyright (c) 2024 The WebRTC project authors. All Rights Reserved.
|
||
|
|
*
|
||
|
|
* Use of this source code is governed by a BSD-style license
|
||
|
|
* that can be found in the LICENSE file in the root of the source
|
||
|
|
* tree. An additional intellectual property rights grant can be found
|
||
|
|
* in the file PATENTS. All contributing project authors may
|
||
|
|
* be found in the AUTHORS file in the root of the source tree.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef RTC_BASE_TRACE_CATEGORIES_H_
|
||
|
|
#define RTC_BASE_TRACE_CATEGORIES_H_
|
||
|
|
|
||
|
|
#define PERFETTO_ENABLE_LEGACY_TRACE_EVENTS 1
|
||
|
|
|
||
|
|
#include "perfetto/tracing/track_event.h" // IWYU pragma: export
|
||
|
|
#include "perfetto/tracing/track_event_category_registry.h"
|
||
|
|
#include "perfetto/tracing/track_event_legacy.h" // IWYU pragma: export
|
||
|
|
#include "rtc_base/system/rtc_export.h"
|
||
|
|
|
||
|
|
PERFETTO_DEFINE_TEST_CATEGORY_PREFIXES("webrtc-test");
|
||
|
|
|
||
|
|
PERFETTO_DEFINE_CATEGORIES_IN_NAMESPACE_WITH_ATTRS(
|
||
|
|
webrtc,
|
||
|
|
RTC_EXPORT,
|
||
|
|
perfetto::Category("webrtc"),
|
||
|
|
perfetto::Category("webrtc_stats"),
|
||
|
|
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("webrtc")),
|
||
|
|
perfetto::Category(TRACE_DISABLED_BY_DEFAULT("webrtc_stats")));
|
||
|
|
|
||
|
|
PERFETTO_USE_CATEGORIES_FROM_NAMESPACE(webrtc);
|
||
|
|
|
||
|
|
#endif // RTC_BASE_TRACE_CATEGORIES_H_
|