diff options
author | Alon Levy <alevy@redhat.com> | 2012-03-11 18:11:26 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-12 10:30:23 +0000 |
commit | cdbc19dd8d2fd32d9a96401aaaed0c19da7896ca (patch) | |
tree | 1b88ffd572401c594348d93124d4568b91e2ba5e /console.h | |
parent | f922ea46ba95596ffee0155712f8e243229ed583 (diff) | |
download | hqemu-cdbc19dd8d2fd32d9a96401aaaed0c19da7896ca.zip hqemu-cdbc19dd8d2fd32d9a96401aaaed0c19da7896ca.tar.gz |
console: add some trace events
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ #include "qdict.h" #include "notify.h" #include "monitor.h" +#include "trace.h" /* keyboard/mouse support */ @@ -202,11 +203,13 @@ static inline DisplaySurface* qemu_create_displaysurface(DisplayState *ds, int w static inline DisplaySurface* qemu_resize_displaysurface(DisplayState *ds, int width, int height) { + trace_displaysurface_resize(ds, ds->surface, width, height); return ds->allocator->resize_displaysurface(ds->surface, width, height); } static inline void qemu_free_displaysurface(DisplayState *ds) { + trace_displaysurface_free(ds, ds->surface); ds->allocator->free_displaysurface(ds->surface); } |