Add trace span to process_libinput_event
Browse files at this commit1be860c5273c1c97bf445118cdede2d1116330b0Parent: b3e0a6c1 changed file +2 -0
- src/input.rs +2 -0
src/input.rsmodified+2 -0
| @@ -84,6 +84,8 @@ impl State { | ||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | pub fn process_libinput_event(&mut self, event: &mut InputEvent<LibinputInputBackend>) { |
| 87 | + let _span = tracy_client::span!("process_libinput_event"); | |
| 88 | + | |
| 87 | 89 | match event { |
| 88 | 90 | InputEvent::DeviceAdded { device } => { |
| 89 | 91 | // According to Mutter code, this setting is specific to touchpads. |