|
13 | 13 | #include "EventEmitterWrapper.h"
|
14 | 14 | #include "FabricMountingManager.h"
|
15 | 15 |
|
16 |
| -#include <cxxreact/SystraceSection.h> |
| 16 | +#include <cxxreact/TraceSection.h> |
17 | 17 | #include <fbjni/fbjni.h>
|
18 | 18 | #include <glog/logging.h>
|
19 | 19 | #include <jsi/JSIDynamic.h>
|
@@ -135,7 +135,7 @@ void FabricUIManagerBinding::startSurfaceWithSurfaceHandler(
|
135 | 135 | jint surfaceId,
|
136 | 136 | jni::alias_ref<SurfaceHandlerBinding::jhybridobject> surfaceHandlerBinding,
|
137 | 137 | jboolean isMountable) {
|
138 |
| - SystraceSection s("FabricUIManagerBinding::startSurfaceWithSurfaceHandler"); |
| 138 | + TraceSection s("FabricUIManagerBinding::startSurfaceWithSurfaceHandler"); |
139 | 139 | if (enableFabricLogs_) {
|
140 | 140 | LOG(WARNING)
|
141 | 141 | << "FabricUIManagerBinding::startSurfaceWithSurfaceHandler() was called (address: "
|
@@ -180,7 +180,7 @@ void FabricUIManagerBinding::startSurface(
|
180 | 180 | jint surfaceId,
|
181 | 181 | jni::alias_ref<jstring> moduleName,
|
182 | 182 | NativeMap* initialProps) {
|
183 |
| - SystraceSection s("FabricUIManagerBinding::startSurface"); |
| 183 | + TraceSection s("FabricUIManagerBinding::startSurface"); |
184 | 184 |
|
185 | 185 | if (enableFabricLogs_) {
|
186 | 186 | LOG(WARNING)
|
@@ -235,7 +235,7 @@ void FabricUIManagerBinding::startSurfaceWithConstraints(
|
235 | 235 | jfloat offsetY,
|
236 | 236 | jboolean isRTL,
|
237 | 237 | jboolean doLeftAndRightSwapInRTL) {
|
238 |
| - SystraceSection s("FabricUIManagerBinding::startSurfaceWithConstraints"); |
| 238 | + TraceSection s("FabricUIManagerBinding::startSurfaceWithConstraints"); |
239 | 239 |
|
240 | 240 | if (enableFabricLogs_) {
|
241 | 241 | LOG(WARNING)
|
@@ -293,7 +293,7 @@ void FabricUIManagerBinding::startSurfaceWithConstraints(
|
293 | 293 |
|
294 | 294 | // Used by non-bridgeless+Fabric
|
295 | 295 | void FabricUIManagerBinding::stopSurface(jint surfaceId) {
|
296 |
| - SystraceSection s("FabricUIManagerBinding::stopSurface"); |
| 296 | + TraceSection s("FabricUIManagerBinding::stopSurface"); |
297 | 297 | if (enableFabricLogs_) {
|
298 | 298 | LOG(WARNING)
|
299 | 299 | << "FabricUIManagerBinding::stopSurface() was called (address: " << this
|
@@ -336,7 +336,7 @@ void FabricUIManagerBinding::stopSurface(jint surfaceId) {
|
336 | 336 | void FabricUIManagerBinding::stopSurfaceWithSurfaceHandler(
|
337 | 337 | jni::alias_ref<SurfaceHandlerBinding::jhybridobject>
|
338 | 338 | surfaceHandlerBinding) {
|
339 |
| - SystraceSection s("FabricUIManagerBinding::stopSurfaceWithSurfaceHandler"); |
| 339 | + TraceSection s("FabricUIManagerBinding::stopSurfaceWithSurfaceHandler"); |
340 | 340 | const auto& surfaceHandler =
|
341 | 341 | surfaceHandlerBinding->cthis()->getSurfaceHandler();
|
342 | 342 | if (enableFabricLogs_) {
|
@@ -377,7 +377,7 @@ void FabricUIManagerBinding::setConstraints(
|
377 | 377 | jfloat offsetY,
|
378 | 378 | jboolean isRTL,
|
379 | 379 | jboolean doLeftAndRightSwapInRTL) {
|
380 |
| - SystraceSection s("FabricUIManagerBinding::setConstraints"); |
| 380 | + TraceSection s("FabricUIManagerBinding::setConstraints"); |
381 | 381 |
|
382 | 382 | auto scheduler = getScheduler();
|
383 | 383 | if (!scheduler) {
|
@@ -425,7 +425,7 @@ void FabricUIManagerBinding::installFabricUIManager(
|
425 | 425 | jni::alias_ref<JFabricUIManager::javaobject> javaUIManager,
|
426 | 426 | EventBeatManager* eventBeatManager,
|
427 | 427 | ComponentFactory* componentsRegistry) {
|
428 |
| - SystraceSection s("FabricUIManagerBinding::installFabricUIManager"); |
| 428 | + TraceSection s("FabricUIManagerBinding::installFabricUIManager"); |
429 | 429 |
|
430 | 430 | enableFabricLogs_ = ReactNativeFeatureFlags::enableFabricLogs();
|
431 | 431 |
|
|
0 commit comments