Plumb time profiler output into tracing (#34238)

* Plumb time profiler output into tracing

Signed-off-by: Delan Azabani <dazabani@igalia.com>

* Enter the span tightly around the callback

Signed-off-by: Delan Azabani <dazabani@igalia.com>

* Use `info_span!()` shorthand

Signed-off-by: Delan Azabani <dazabani@igalia.com>

---------

Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
Delan Azabani 2024-11-15 17:10:01 +08:00 committed by GitHub
parent 495cceb7de
commit aa7116c75d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 279 additions and 82 deletions

4
Cargo.lock generated
View file

@ -3832,6 +3832,7 @@ dependencies = [
"smallvec",
"style",
"style_traits",
"tracing",
"unicode-bidi",
"unicode-script",
"webrender_api",
@ -3919,6 +3920,7 @@ dependencies = [
"style",
"style_traits",
"time 0.3.36",
"tracing",
"url",
"webrender_api",
"webrender_traits",
@ -5564,6 +5566,7 @@ dependencies = [
"servo_config",
"signpost",
"time 0.3.36",
"tracing",
]
[[package]]
@ -6074,6 +6077,7 @@ dependencies = [
"tempfile",
"tendril",
"time 0.3.36",
"tracing",
"unicode-bidi",
"unicode-segmentation",
"url",