Skip to content

Commit d2e3766

Browse files
Fix Perfetto TraceSection integratiuon on APPLE and delete unused ReactPerfettoLogger const
Summary: Changelog: [Internal] ix Perfetto TraceSection integratiuon on APPLE and delete unused ReactPerfettoLogger const Differential Revision: D107682732
1 parent feede14 commit d2e3766

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/react-native/ReactCommon/cxxreact/TraceSection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ using TraceSectionUnwrapped = DummyTraceSection;
110110
* In the case of WITH_LOOM_TRACE we don't use the signposts APIs because of the
111111
* templated type for TraceSection.
112112
*/
113-
#if defined(__APPLE__) && OS_LOG_TARGET_HAS_10_15_FEATURES && !defined(WITH_LOOM_TRACE)
113+
#if defined(__APPLE__) && OS_LOG_TARGET_HAS_10_15_FEATURES && !defined(WITH_LOOM_TRACE) && !defined(WITH_PERFETTO)
114114

115115
namespace systrace {
116116

packages/react-native/ReactCommon/reactperflogger/reactperflogger/ReactPerfettoLogger.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ namespace {
2020
#if defined(WITH_PERFETTO)
2121
const HighResTimeStamp PROGRAM_INIT_TIME = HighResTimeStamp::now();
2222
const std::string PERFETTO_DEFAULT_TRACK_NAME = "# Web Performance";
23-
const std::string PERFETTO_TRACK_NAME_PREFIX = "# Web Performance: ";
2423

2524
std::string toPerfettoTrackName(
2625
const std::optional<std::string_view>& trackName,

0 commit comments

Comments
 (0)