Patchwork [v2,08/10] trace: add trace statements for visitor interface

login
register
mail settings
Submitter Michael Roth
Date Oct. 27, 2011, 5:06 p.m.
Message ID <1319735193-4718-9-git-send-email-mdroth@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/122189/
State New
Headers show

Comments

Michael Roth - Oct. 27, 2011, 5:06 p.m.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
 trace-events |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

Patch

diff --git a/trace-events b/trace-events
index 6e36266..ec5c772 100644
--- a/trace-events
+++ b/trace-events
@@ -642,3 +642,28 @@  qemu_put_sbe32(void *f, int v) "file=%p, val=0x%x"
 qemu_get_sbe32(void *f, int v) "file=%p, val=0x%x"
 qemu_put_sbe64(void *f, int64_t v) "file=%p, val=0x%"PRIx64
 qemu_get_sbe64(void *f, int64_t v) "file=%p, val=0x%"PRIx64
+
+# qapi/qapi-visit-core.c
+qapi_visit_type_uint8(void *v, const char *field, uint8_t *value_ptr, uint8_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_uint16(void *v, const char *field, uint16_t *value_ptr, uint16_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_uint32(void *v, const char *field, uint32_t *value_ptr, uint32_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_uint64(void *v, const char *field, uint64_t *value_ptr, uint64_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%"PRIx64", err=%p"
+qapi_visit_type_int8(void *v, const char *field, int8_t *value_ptr, int8_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_int16(void *v, const char *field, int16_t *value_ptr, int16_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_int32(void *v, const char *field, int32_t *value_ptr, int32_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_int64(void *v, const char *field, int64_t *value_ptr, int64_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%"PRIx64", err=%p"
+qapi_visit_type_int(void *v, const char *field, int64_t *value_ptr, int64_t value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%"PRIx64", err=%p"
+qapi_visit_type_bool(void *v, const char *field, bool *value_ptr, bool value, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, err=%p"
+qapi_visit_type_str(void *v, const char *field, void *value_ptr, char *value, void *e) "visitor=%p, field=%s, ptr=%p, val=%s, err=%p"
+qapi_visit_type_double(void *v, const char *field, double *value_ptr, double value, void *e) "visitor=%p, field=%s, ptr=%p, val=%f, err=%p"
+qapi_visit_type_enum(void *v, const char *field, int *value_ptr, int value, const void *strings_ptr, void *e) "visitor=%p, field=%s, ptr=%p, val=0x%x, strings_ptr=%p, err=%p"
+qapi_start_struct(void *v, const char *field, void *ptr, int size, const char *kind, void *err) "visitor=%p, field=%s, ptr=%p, size=%d, kind=%s, err=%p"
+qapi_end_struct(void *v, void *err) "visitor=%p, err=%p"
+qapi_start_list(void *v, const char *field, void *e) "visitor=%p, field=%s, err=%p"
+qapi_visit_next_list(void *v, void *list_entry, void *e) "visitor=%p, list_entry=%p, err=%p"
+qapi_end_list(void *v, void *e) "visitor=%p, err=%p"
+qapi_start_array(void *v, const char *field, void *ptr, int elem_count, int elem_size, void *e) "visitor=%p, field=%s, ptr=%p, elem_count=%d, elem_size=%d, err=%p"
+qapi_visit_next_array(void *v, void *e) "visitor=%p, err=%p"
+qapi_end_array(void *v, void *e) "visitor=%p, err=%p"
+qapi_start_optional(void *v, const char *field, bool *value_ptr, bool value, void *e) "visitor=%p, field=%s, value_ptr=%p, val=0x%x, err=%p"
+qapi_end_optional(void *v, void *e) "visitor=%p, err=%p"