Specify correct category for SetLayerTreeId event (#54769)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54769

# Changelog: [Internal]

In Chrome, this event has `disabled-by-default-devtools.timeline` category. This also implies that this event won't be displayed on a timeline by default, which is what we want.

Reviewed By: sbuggay

Differential Revision: D88274243

fbshipit-source-id: c8f3dc1546fdff7219a293a4a559bbb70dc2d4f1
This commit is contained in:
Ruslan Lesiutin authored and meta-codesync[bot] committed 2025-12-04 03:39:37 -08:00
1 parent 31a0c9a350
commit cd055e9599
1 file changed
+1 -1
@@ -22,7 +22,7 @@ namespace facebook::react::jsinspector_modern::tracing {
return TraceEvent{
.name = "SetLayerTreeId",
.cat = {Category::Timeline},
.cat = {Category::HiddenTimeline},
.ph = 'I',
.ts = timestamp,
.pid = processId,