[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v4 32/38] input: add input_mouse_mode tracepoint
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL v4 32/38] input: add input_mouse_mode tracepoint |
Date: |
Wed, 5 Mar 2014 12:53:34 +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 fcdd570..744563c 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 b8fc681..afc037c 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -289,6 +289,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] [PULL v4 18/38] input: mouse: switch legacy handlers to new core, (continued)
- [Qemu-devel] [PULL v4 18/38] input: mouse: switch legacy handlers to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 01/38] console: export QemuConsole index, width, height, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 09/38] input: keyboard: switch qmp_send_key() to new core., Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 35/38] input: remove index_from_keycode (no users), Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 08/38] input: keyboard: switch legacy handlers to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 16/38] input: mouse: add graphic_rotate support, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 14/38] input: keyboard: switch curses ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 11/38] input: keyboard: switch sdl ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 33/38] input: move qmp_query_mice to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 21/38] input: mouse: switch vnc ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 32/38] input: add input_mouse_mode tracepoint,
Gerd Hoffmann <=
- [Qemu-devel] [PULL v4 04/38] input: qapi: add unmapped key, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 29/38] input-legacy: remove kbd_mouse_is_absolute, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 23/38] input: mouse: switch monitor to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 24/38] input: keyboard: switch cocoa ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 22/38] input: mouse: switch spice ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 10/38] input: keyboard: switch gtk ui to new core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 06/38] input: add core bits of the new input layer, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 15/38] input: mouse: add helpers functions to core, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 28/38] input-legacy: remove kbd_mouse_has_absolute, Gerd Hoffmann, 2014/03/05
- [Qemu-devel] [PULL v4 26/38] input: trace events, Gerd Hoffmann, 2014/03/05