v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
trace-categories.cc
Go to the documentation of this file.
1// Copyright 2020 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
6
8
9#if defined(V8_USE_PERFETTO)
10PERFETTO_TRACK_EVENT_STATIC_STORAGE_IN_NAMESPACE_WITH_ATTRS(v8,
12
13namespace v8 {
14
15const perfetto::internal::TrackEventCategoryRegistry&
16GetTrackEventCategoryRegistry() {
17 return v8::perfetto_track_event::internal::kCategoryRegistry;
18}
19
20} // namespace v8
21
22#endif
#define V8_EXPORT_PRIVATE
Definition macros.h:460