diff --git a/packages/react-native/ReactCxxPlatform/react/profiling/tracy_noop.h b/packages/react-native/ReactCxxPlatform/react/profiling/tracy_noop.h index 147c6ccbdfb3f1..22f84d6544281c 100644 --- a/packages/react-native/ReactCxxPlatform/react/profiling/tracy_noop.h +++ b/packages/react-native/ReactCxxPlatform/react/profiling/tracy_noop.h @@ -12,7 +12,7 @@ #endif #if RNCXX_WITH_PROFILING_PROVIDER -#include +#include #ifndef TRACE_FUNCTION #if defined(__GNUC__) || defined(__clang__) @@ -26,16 +26,16 @@ static inline constexpr char kTraceCategory[] = "react_native"; HZT_DEFINE_TRACING_CATEGORIES( facebook::react, - horizon::tracing::v2::Category( + horizon::tracing::Category( kTraceCategory, "react_native", - horizon::tracing::v2::StrippingLevel::Important)); + horizon::tracing::StrippingLevel::Important)); #define SCOPED_TRACE_CPU_AUTO() \ - HZT_TRACE_SCOPE_NS_V2(::facebook::react, kTraceCategory, TRACE_FUNCTION); + HZT_TRACE_SCOPE_NS(::facebook::react, kTraceCategory, TRACE_FUNCTION); #define SCOPED_TRACE_CPU(name) \ - HZT_TRACE_SCOPE_NS_V2(::facebook::react, kTraceCategory, name); + HZT_TRACE_SCOPE_NS(::facebook::react, kTraceCategory, name); #else #ifndef SCOPED_TRACE_CPU_AUTO