chromium/third_party/webrtc/rtc_base/trace_categories.h

/*
 *  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

#include "rtc_base/system/rtc_export.h"
#include "third_party/perfetto/include/perfetto/tracing/track_event.h"  // IWYU pragma: export
#include "third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h"
#include "third_party/perfetto/include/perfetto/tracing/track_event_legacy.h"  // IWYU pragma: export

PERFETTO_DEFINE_TEST_CATEGORY_PREFIXES();

PERFETTO_DEFINE_CATEGORIES_IN_NAMESPACE_WITH_ATTRS();

PERFETTO_USE_CATEGORIES_FROM_NAMESPACE();

#endif  // RTC_BASE_TRACE_CATEGORIES_H_