PR-URL: https://github.com/nodejs/node/pull/58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
24 lines
632 B
C++
24 lines
632 B
C++
// Copyright 2025 the V8 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.
|
|
|
|
#ifndef INCLUDE_V8_TRACE_CATEGORIES_H_
|
|
#define INCLUDE_V8_TRACE_CATEGORIES_H_
|
|
|
|
#if defined(V8_USE_PERFETTO)
|
|
|
|
#include "perfetto/tracing/track_event.h"
|
|
#include "v8config.h"
|
|
|
|
namespace v8 {
|
|
|
|
// Returns the perfeto TrackEventCategoryRegistry for v8 tracing categories.
|
|
V8_EXPORT const perfetto::internal::TrackEventCategoryRegistry&
|
|
GetTrackEventCategoryRegistry();
|
|
|
|
} // namespace v8
|
|
|
|
#endif // defined(V8_USE_PERFETTO)
|
|
|
|
#endif // INCLUDE_V8_TRACE_CATEGORIES_H_
|