v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
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#include "v8config.h"
9
10#if defined(V8_USE_PERFETTO)
11
12#include "perfetto/tracing/track_event.h"
13
14namespace v8 {
15
16// Returns the perfeto TrackEventCategoryRegistry for v8 tracing categories.
17V8_EXPORT const perfetto::internal::TrackEventCategoryRegistry&
18GetTrackEventCategoryRegistry();
19
20} // namespace v8
21
22#endif // defined(V8_USE_PERFETTO)
23
24#endif // INCLUDE_V8_TRACE_CATEGORIES_H_