[tracing] Add convenience macro for function tracing (#36573)

Adds a convenience macro that adds sane defaults to the tracing macro.

Closes: #36534 
Testing: 
 - Pass in sample test cases and compare against expected behaviour.

---------

Signed-off-by: Astraea Quinn Skoutelli <astraea.quinn.skoutelli@huawei.com>
This commit is contained in:
Astraea Quinn S 2025-04-22 21:58:20 +02:00 committed by GitHub
parent a57ab6deca
commit b6967fc4c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 431 additions and 4 deletions

View file

@ -125,6 +125,7 @@ serde_json = "1.0"
servo-media = { git = "https://github.com/servo/media" }
servo-media-dummy = { git = "https://github.com/servo/media" }
servo-media-gstreamer = { git = "https://github.com/servo/media" }
servo-tracing = { path = "components/servo_tracing" }
servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-03-15" }
smallbitvec = "2.6.0"
smallvec = "1.15"