Received: from eggs.gnu.org ([2001:4830:134:3::10]:34063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCCFy-0002vb-8E for qemu-devel@nongnu.org; Fri, 16 Jan 2015 14:08:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCCFt-0004dQ-4z for qemu-devel@nongnu.org; Fri, 16 Jan 2015 14:08:30 -0500 Received: from fldsmtpe04.verizon.com ([140.108.26.143]:11153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCCFs-0004d5-SZ for qemu-devel@nongnu.org; Fri, 16 Jan 2015 14:08:25 -0500 From: Don Koch Date: Fri, 16 Jan 2015 14:08:02 -0500 Message-Id: <1421435282-1598-1-git-send-email-dkoch@verizon.com> Subject: [Qemu-devel] [PATCH] Add trace messages to input.c. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Don Koch , Gerd Hoffmann Signed-off-by: Don Koch --- trace-events | 1 + ui/input.c | 1 + 2 files changed, 2 insertions(+) diff --git a/trace-events b/trace-events index 97c7ac3..6a60f19 100644 --- a/trace-events +++ b/trace-events @@ -1136,6 +1136,7 @@ vnc_key_sync_numlock(bool on) "%d" vnc_key_sync_capslock(bool on) "%d" # ui/input.c +do_mouse_set(void *mon, int index) "%p index %d" input_event_key_number(int conidx, int number, const char *qcode, bool down) "con %d, key number 0x%x [%s], down %d" input_event_key_qcode(int conidx, const char *qcode, bool down) "con %d, key qcode %s, down %d" input_event_btn(int conidx, const char *btn, bool down) "con %d, button %s, down %d" diff --git a/ui/input.c b/ui/input.c index 7ba99e5..35dd783 100644 --- a/ui/input.c +++ b/ui/input.c @@ -532,6 +532,7 @@ void do_mouse_set(Monitor *mon, const QDict *qdict) int index = qdict_get_int(qdict, "index"); int found = 0; + trace_do_mouse_set(mon, index); QTAILQ_FOREACH(s, &handlers, node) { if (s->id != index) { continue; -- 1.8.3.1