Loading...
Searching...
No Matches
v8-trace-categories.h
Go to the documentation of this file.
1// Copyright 2025 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef INCLUDE_V8_TRACE_CATEGORIES_H_
6#define INCLUDE_V8_TRACE_CATEGORIES_H_
7
8#if defined(V8_USE_PERFETTO)
9
10#include "perfetto/tracing/track_event.h"
11#include "v8config.h"
12
13namespace v8 {
14
15// Returns the perfeto TrackEventCategoryRegistry for v8 tracing categories.
16V8_EXPORT const perfetto::internal::TrackEventCategoryRegistry&
17GetTrackEventCategoryRegistry();
18
19} // namespace v8
20
21#endif // defined(V8_USE_PERFETTO)
22
23#endif // INCLUDE_V8_TRACE_CATEGORIES_H_
Definition: libplatform.h:15
#define V8_EXPORT
Definition: v8config.h:803