Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/OpenSwiftUICore/Data/Update.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ package enum Update {
Signpost.viewHost.traceEvent(
type: .begin,
object: trackHost,
"",
"ViewHost: (%p) update began PlatformHost [ %p ]",
[
0,
UInt(bitPattern: Unmanaged.passUnretained(trackHost).toOpaque()),
Expand All @@ -89,7 +89,7 @@ package enum Update {
Signpost.viewHost.traceEvent(
type: .end,
object: trackHost,
"",
"ViewHost: (%p) update ended PlatformHost [ %p ]",
[
0,
UInt(bitPattern: Unmanaged.passUnretained(trackHost).toOpaque()),
Expand Down
6 changes: 3 additions & 3 deletions Sources/OpenSwiftUICore/Tracing/Tracing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ package struct Tracing {
package func traceBody<Body>(_ v: any Any.Type, body: () -> Body) -> Body {
Signpost.bodyInvoke.traceInterval(
object: nil,
"",
"%{public}@.body [in %{public}@]",
[
Metadata(v).description,
Tracing.libraryName(defining: v)
Expand All @@ -83,7 +83,7 @@ package func traceRuleBody<Body>(_ v: any Any.Type, body: () -> Body) -> Body {
Signpost.bodyInvoke.traceEvent(
type: .end,
object: nil,
"",
"-> [%d] (%p)",
[
current.rawValue,
1,
Expand All @@ -94,7 +94,7 @@ package func traceRuleBody<Body>(_ v: any Any.Type, body: () -> Body) -> Body {
}
return Signpost.bodyInvoke.traceInterval(
object: nil,
"",
"%{public}@.body [in %{public}@]",
[
Metadata(v).description,
Tracing.libraryName(defining: v)
Expand Down
4 changes: 2 additions & 2 deletions Sources/OpenSwiftUICore/View/Graph/ViewRendererHost.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension ViewRendererHost {
Signpost.viewHost.traceEvent(
type: .event,
object: self,
"",
"ViewHost: (%p) initialized PlatformHost [ %p ]",
[
viewGraph.graph.graphIdentity(),
UInt(bitPattern: Unmanaged.passUnretained(self).toOpaque()),
Expand All @@ -74,7 +74,7 @@ extension ViewRendererHost {
Signpost.viewHost.traceEvent(
type: .event,
object: self,
"",
"ViewHost: (%p) invalidated PlatformHost [ %p ]",
[
viewGraph.graph.graphIdentity(),
UInt(bitPattern: Unmanaged.passUnretained(self).toOpaque()),
Expand Down