From 1be860c5273c1c97bf445118cdede2d1116330b0 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 9 Dec 2023 09:23:41 +0400 Subject: Add trace span to process_libinput_event --- src/input.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/input.rs b/src/input.rs index ca08653e..15630b76 100644 --- a/src/input.rs +++ b/src/input.rs @@ -84,6 +84,8 @@ impl State { } pub fn process_libinput_event(&mut self, event: &mut InputEvent) { + let _span = tracy_client::span!("process_libinput_event"); + match event { InputEvent::DeviceAdded { device } => { // According to Mutter code, this setting is specific to touchpads. -- cgit