Skip to content

Conversation

@jschwe
Copy link
Member

@jschwe jschwe commented Nov 20, 2025

If we don't enter the span, then nothing will be traced. This was overlooked during review of #40629.
Also clean-up some tracing feature flag occurence, which is not needed when using the macro from profile_traits.

Testing: Manually tested with tracing-hitrace feature

If we don't enter the span, then nothing will be traced.
Also clean-up some `tracing` feature flag occurence,
which is not needed when using the macro from profile_traits.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe jschwe requested a review from mrobinson as a code owner November 20, 2025 07:34
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 20, 2025
@jschwe
Copy link
Member Author

jschwe commented Nov 20, 2025

@kongbai1996 I think this is the reason why you weren't seeing Fling in the traces. Can you confirm if it works for you to?

@jschwe jschwe requested a review from yezhizhen November 20, 2025 08:00
@kongbai1996
Copy link
Contributor

It is working properly.

@kongbai1996 I think this is the reason why you weren't seeing Fling in the traces. Can you confirm if it works for you to?

Copy link
Member

@yezhizhen yezhizhen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took me a while to track #40160 and history of these..

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 20, 2025
@jschwe
Copy link
Member Author

jschwe commented Nov 20, 2025

@yezhizhen sorry for the confusion, I edited the description and added a link to the original PR, which added the trace points - #40629. The PR you linked just added an abstraction, and didn't change anything regarding the behavior.

@jschwe jschwe added this pull request to the merge queue Nov 20, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 20, 2025
Merged via the queue into servo:main with commit 0e998ba Nov 20, 2025
36 checks passed
@jschwe jschwe deleted the jschwender/fix-fling-trace branch November 20, 2025 09:35
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants