Received: from eggs.gnu.org ([2001:4830:134:3::10]:45903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFTzW-00013Q-Cd for qemu-devel@nongnu.org; Mon, 17 Feb 2014 14:36:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFTzS-0004ye-2n for qemu-devel@nongnu.org; Mon, 17 Feb 2014 14:36:34 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:42649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFTzR-0004yN-NR for qemu-devel@nongnu.org; Mon, 17 Feb 2014 14:36:30 -0500 From: =?utf-8?b?TGx1w61z?= Vilanova Date: Mon, 17 Feb 2014 20:36:19 +0100 Message-Id: <20140217193618.25959.69101.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/4] Tracetool cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kazuya Saito , Stefan Hajnoczi Minimizes the amount of backend code, making it simpler to add new/differ= ent backends. Also performs other cleanups all around. Signed-off-by: Llu=C3=ADs Vilanova --- Llu=C3=ADs Vilanova (4): trace: [tracetool] Add method 'Event.api' to build event names trace: [tracetool,trivial] Style changes trace: [tracetool] Identify formats directly used by QEMU trace: [tracetool] Minimize the amount of per-backend code scripts/simpletrace.py | 6 -- scripts/tracetool/__init__.py | 53 +++++++------ scripts/tracetool/backend/__init__.py | 74 ++++++++----------- scripts/tracetool/backend/dtrace.py | 81 ++------------------ scripts/tracetool/backend/events.py | 23 ------ scripts/tracetool/backend/ftrace.py | 56 ++++++-------- scripts/tracetool/backend/simple.py | 132 ++++++++++++++++-----------= ------ scripts/tracetool/backend/stderr.py | 43 ++++------- scripts/tracetool/backend/ust.py | 44 +++++------ scripts/tracetool/format/__init__.py | 61 +++++++-------- scripts/tracetool/format/c.py | 16 +++- scripts/tracetool/format/d.py | 30 +++++++- scripts/tracetool/format/events_c.py | 18 ++--- scripts/tracetool/format/events_h.py | 18 ++--- scripts/tracetool/format/h.py | 33 +++++--- scripts/tracetool/format/stap.py | 42 ++++++++++- trace/Makefile.objs | 4 + 17 files changed, 343 insertions(+), 391 deletions(-) delete mode 100644 scripts/tracetool/backend/events.py To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi Cc: Kazuya Saito