Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log requests on dead objects #675

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

kchibisov
Copy link
Member

To make it possible to understand that something got discarded, print a message saying so inside when WAYLAND_DEBUG is enabled.

This also changes how timestamps are computed for WAYLAND_DEBUG log so they align with libwayland-client to look into logs using both at the same time more accessible. The [rs] particle was added to the log to give a hint which library was used, which could be helpful when looking into random logs.

To make it possible to understand that something got discarded,
print a message saying so inside when `WAYLAND_DEBUG` is enabled.

This also changes how timestamps are computed for `WAYLAND_DEBUG` log
so they align with `libwayland-client` to look into logs using both
at the same time more accessible. The `[rs]` particle was added to
the log to give a hint which library was used, which could
be helpful when looking into random logs.
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (c760955) 73.31% compared to head (31cc817) 73.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #675      +/-   ##
==========================================
- Coverage   73.31%   73.25%   -0.07%     
==========================================
  Files          47       48       +1     
  Lines        7847     7862      +15     
==========================================
+ Hits         5753     5759       +6     
- Misses       2094     2103       +9     
Flag Coverage Δ
main 58.58% <38.46%> (-0.04%) ⬇️
test-- 78.31% <38.88%> (-0.06%) ⬇️
test--server_system 61.27% <38.88%> (-0.02%) ⬇️
test-client_system- 69.06% <19.23%> (-0.13%) ⬇️
test-client_system-server_system 51.17% <19.23%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
wayland-backend/src/rs/server_impl/mod.rs 82.75% <ø> (ø)
wayland-backend/src/debug.rs 66.66% <66.66%> (ø)
wayland-backend/src/rs/server_impl/client.rs 75.70% <0.00%> (-0.14%) ⬇️
wayland-backend/src/sys/client_impl/mod.rs 71.29% <37.50%> (-0.36%) ⬇️
wayland-backend/src/rs/client_impl/mod.rs 78.03% <41.66%> (-0.31%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@elinorbgr elinorbgr merged commit fe45e89 into Smithay:master Nov 9, 2023
13 of 15 checks passed
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.

2 participants