From patchwork Thu Mar 28 13:25:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 232016 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 277982C00BC for ; Fri, 29 Mar 2013 00:30:14 +1100 (EST) Received: from localhost ([::1]:52740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULCuB-0001FT-GA for incoming@patchwork.ozlabs.org; Thu, 28 Mar 2013 09:30:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULCtU-000117-Vb for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULCq8-00085p-BB for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:26:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULCq7-00085Z-W2 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:26:00 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2SDPx2L016476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Mar 2013 09:25:59 -0400 Received: from localhost (ovpn-112-23.ams2.redhat.com [10.36.112.23]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2SDPw2L017372; Thu, 28 Mar 2013 09:25:58 -0400 From: Stefan Hajnoczi To: Date: Thu, 28 Mar 2013 14:25:41 +0100 Message-Id: <1364477152-26994-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id r2SDPx2L016476 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Anthony Liguori , Stefan Hajnoczi Subject: [Qemu-devel] [PULL 00/11] Tracing patches 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 The following changes since commit e280ff5e9159ed227a117339c1157143627cab96: spice-qemu-char: Drop hackish vmc_register on spice_chr_write (2013-03-27 10:26:50 -0500) are available in the git repository at: git://github.com/stefanha/qemu.git tracing for you to fetch changes up to 7e8660032cd21c1bdc4160b8fab7deec62e1aa12: vl: add runstate_set tracepoint (2013-03-28 14:20:58 +0100) ---------------------------------------------------------------- Kazuya Saito (1): vl: add runstate_set tracepoint LluĂ­s Vilanova (7): trace: [tracetool] Explicitly identify public backends trace: Provide a generic tracing event descriptor trace: Provide a detailed event control interface trace: [monitor] Use new event control interface trace: [default] Port to generic event information and new control interface trace: [simple] Port to generic event information and new control interface trace: [stderr] Port to generic event information and new control interface Stefan Hajnoczi (3): trace: rebuild generated-events.o when configuration changes .gitignore: add trace/generated-events.[ch] .gitignore: rename trace/generated-tracers.dtrace .gitignore | 4 +- Makefile | 3 + docs/tracing.txt | 44 ++++---- monitor.c | 13 ++- scripts/tracetool.py | 4 +- scripts/tracetool/backend/__init__.py | 16 ++- scripts/tracetool/backend/dtrace.py | 3 + scripts/tracetool/backend/events.py | 23 ++++ scripts/tracetool/backend/simple.py | 22 ++-- scripts/tracetool/backend/stderr.py | 28 ++--- scripts/tracetool/backend/ust.py | 3 + scripts/tracetool/format/events_c.py | 39 +++++++ scripts/tracetool/format/events_h.py | 50 +++++++++ scripts/tracetool/format/h.py | 9 +- trace-events | 1 + trace/Makefile.objs | 24 ++++- trace/control-internal.h | 67 ++++++++++++ trace/control.c | 106 ++++++++++++++++--- trace/control.h | 190 ++++++++++++++++++++++++++++++---- trace/default.c | 5 +- trace/event-internal.h | 33 ++++++ trace/simple.c | 35 ++----- trace/simple.h | 6 +- trace/stderr.c | 34 ++---- trace/stderr.h | 11 -- vl.c | 2 +- 26 files changed, 595 insertions(+), 180 deletions(-) create mode 100644 scripts/tracetool/backend/events.py create mode 100644 scripts/tracetool/format/events_c.py create mode 100644 scripts/tracetool/format/events_h.py create mode 100644 trace/control-internal.h create mode 100644 trace/event-internal.h delete mode 100644 trace/stderr.h