From patchwork Thu Oct 27 17:06:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 122189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DE5BE1007D3 for ; Fri, 28 Oct 2011 04:19:38 +1100 (EST) Received: from localhost ([::1]:47077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJTc5-00009z-JN for incoming@patchwork.ozlabs.org; Thu, 27 Oct 2011 13:19:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]:42829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJTRe-0005Ko-TN for qemu-devel@nongnu.org; Thu, 27 Oct 2011 13:08:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJTRY-00012G-RZ for qemu-devel@nongnu.org; Thu, 27 Oct 2011 13:08:46 -0400 Received: from mout.perfora.net ([74.208.4.195]:64284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJTRY-000127-NT for qemu-devel@nongnu.org; Thu, 27 Oct 2011 13:08:40 -0400 Received: from illuin.austin.ibm.com ([32.97.110.59]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0Lb489-1QYt953ljV-00kRfp; Thu, 27 Oct 2011 13:07:40 -0400 From: Michael Roth To: qemu-devel@nongnu.org Date: Thu, 27 Oct 2011 12:06:31 -0500 Message-Id: <1319735193-4718-9-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1319735193-4718-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1319735193-4718-1-git-send-email-mdroth@linux.vnet.ibm.com> X-Provags-ID: V02:K0:qR0wbpDE98iZEU2KhgQYaN8++8XMhbr1Caa8w/Yp/JZ PrWpefOUP2bnxo6dl/586R1JLrgkmESuvwqTIzo9OoTeKfJR7O 21CloyOdgf7MiFe+NAwQ5i+wfg4boyOjkitYwP5sPhbHELDnWz rpn50n2e52kxJyl51Ys0L9T5s7+mBzymGoLbaZjaLABbjO3rvs 6lfJAInjWJqFUTymXqVe3oL+HIk6T+TtxHge2BHEFdYFr9qRaS 1wZe+mTD7g5bNEQ9GOiDXgyO0UtpbE5D3wRfkrJuK/seNd3odE Q9yrfSST+R0/lU9+sTCQKJbYTasLAdtzVa/gcPA56nK8MX2SGk UhyHpw/nc4rvfZhjHHxHg+85HZt2r0bCOgYXjN4yKIgElnLC2y KccngfURbdcef68ue+5YKVPfqYeF9bfy68= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.208.4.195 Cc: aliguori@us.ibm.com, mdroth@linux.vnet.ibm.com, quintela@redhat.com Subject: [Qemu-devel] [PATCH v2 08/10] trace: add trace statements for visitor interface X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Michael Roth --- trace-events | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) 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"