mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
[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:
parent
a57ab6deca
commit
b6967fc4c8
7 changed files with 431 additions and 4 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -4321,6 +4321,7 @@ dependencies = [
|
|||
"servo-media",
|
||||
"servo-media-dummy",
|
||||
"servo-media-gstreamer",
|
||||
"servo-tracing",
|
||||
"servo_allocator",
|
||||
"servo_config",
|
||||
"servo_geometry",
|
||||
|
@ -6734,6 +6735,16 @@ dependencies = [
|
|||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo-tracing"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"prettyplease",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo_allocator"
|
||||
version = "0.0.1"
|
||||
|
@ -6891,6 +6902,7 @@ dependencies = [
|
|||
"raw-window-handle",
|
||||
"rustls",
|
||||
"serde_json",
|
||||
"servo-tracing",
|
||||
"servo_allocator",
|
||||
"shellwords",
|
||||
"sig",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue