Convert commit mark into a span

This commit is contained in:
Ivan Molodetskikh
2023-08-15 18:17:12 +04:00
parent 511e09094c
commit 30879ed30b
+1 -3
View File
@@ -27,9 +27,7 @@ impl CompositorHandler for Niri {
}
fn commit(&mut self, surface: &WlSurface) {
tracy_client::Client::running()
.unwrap()
.message("client commit", 0);
let _span = tracy_client::span!("CompositorHandler::commit");
on_commit_buffer_handler::<Self>(surface);