[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 37/42] input: add input_mouse_mode tracepoint
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 37/42] input: add input_mouse_mode tracepoint |
Date: |
Tue, 28 Jan 2014 10:57:30 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
trace-events | 1 +
ui/input.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/trace-events b/trace-events
index 4b6bb29..04191b7 100644
--- a/trace-events
+++ b/trace-events
@@ -1027,6 +1027,7 @@ input_event_btn(int conidx, const char *btn, bool down)
"con %d, button %s, down
input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s,
value %d"
input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s,
value 0x%x"
input_event_sync(void) ""
+input_mouse_mode(int absolute) "absolute %d"
# hw/display/vmware_vga.c
vmware_value_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
diff --git a/ui/input.c b/ui/input.c
index a32bcff..55449dc 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -291,6 +291,7 @@ void qemu_input_check_mode_change(void)
is_absolute = qemu_input_is_absolute();
if (is_absolute != current_is_absolute) {
+ trace_input_mouse_mode(is_absolute);
notifier_list_notify(&mouse_mode_notifiers, NULL);
}
--
1.8.3.1
- [Qemu-devel] [PATCH 26/42] input: mouse: switch vnc ui to new core, (continued)
- [Qemu-devel] [PATCH 26/42] input: mouse: switch vnc ui to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 22/42] input: mouse: switch legacy handlers to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 35/42] input-legacy: remove kbd_mouse_event, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 31/42] input: trace events, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 33/42] input-legacy: remove kbd_mouse_has_absolute, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 20/42] input: mouse: add graphic_rotate support, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 34/42] input-legacy: remove kbd_mouse_is_absolute, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 40/42] input: move qmp_query_mice to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 36/42] input: move mouse mode notifier to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 32/42] input-legacy: remove kbd_put_keycode, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 37/42] input: add input_mouse_mode tracepoint,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 41/42] input: move do_mouse_set to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 07/42] input: qapi: add unmapped key, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 29/42] input: keyboard: switch cocoa ui to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 19/42] input: mouse: add helpers functions to core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 28/42] input: mouse: switch monitor to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 42/42] input: remove index_from_keycode (no users), Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 30/42] input: mouse: switch cocoa ui to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 10/42] input: keyboard: add helper functions to core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 02/42] sdl2: baum build fix, Gerd Hoffmann, 2014/01/28