From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNjut-0000m9-2p for qemu-devel@nongnu.org; Wed, 12 Mar 2014 10:13:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNjuo-0004vR-TW for qemu-devel@nongnu.org; Wed, 12 Mar 2014 10:13:55 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:44862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNjuo-0004ux-Na for qemu-devel@nongnu.org; Wed, 12 Mar 2014 10:13:50 -0400 Received: by mail-ee0-f41.google.com with SMTP id t10so4397441eei.14 for ; Wed, 12 Mar 2014 07:13:49 -0700 (PDT) Date: Wed, 12 Mar 2014 15:13:46 +0100 From: Stefan Hajnoczi Message-ID: <20140312141346.GA903@stefanha-thinkpad.muc.redhat.com> References: <20140223193656.28465.12158.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140223193656.28465.12158.stgit@fimbulvetr.bsc.es> Subject: Re: [Qemu-devel] [PATCH 0/8] Tracetool cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Llu=EDs?= Vilanova Cc: qemu-devel@nongnu.org, Stefan Hajnoczi On Sun, Feb 23, 2014 at 08:36:57PM +0100, Lluís Vilanova wrote: > Minimizes the amount of backend code, making it simpler to add new/different > backends. > > Also performs other cleanups all around. > > Signed-off-by: Lluís Vilanova > --- > > Changes in v2: > > * Rebase on 6f0b22d. > * Remove "API" variable in forntend modules. > * Further split changes. > * Bump up trace format version for the simple backend. > > > Lluís Vilanova (8): > trace: [tracetool] Add method 'Event.api' to build event names > trace: [tracetool] Add methods 'Event.copy' and 'Arguments.copy' > trace: [tracetool] Spacing changes > trace: [tracetool] Cosmetic changes > trace: [tracetool] Show list of frontends and backends sorted by name > trace: [tracetool] Change format docs to point to the generated file > trace: [simple] Bump up log version number > trace: [tracetool] Minimize the amount of per-backend code > > > scripts/simpletrace.py | 16 +--- > 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 | 65 ++------------- > scripts/tracetool/format/__init__.py | 50 ++++------- > scripts/tracetool/format/c.py | 16 +++- > scripts/tracetool/format/d.py | 30 ++++++- > scripts/tracetool/format/events_c.py | 15 +-- > scripts/tracetool/format/events_h.py | 15 +-- > scripts/tracetool/format/h.py | 30 ++++--- > scripts/tracetool/format/stap.py | 42 +++++++++- > scripts/tracetool/format/ust_events_c.py | 7 +- > scripts/tracetool/format/ust_events_h.py | 42 +++++++++- > trace/Makefile.objs | 4 - > trace/simple.c | 2 > 20 files changed, 362 insertions(+), 434 deletions(-) > delete mode 100644 scripts/tracetool/backend/events.py > > > To: qemu-devel@nongnu.org > Cc: Stefan Hajnoczi > Cc: Kazuya Saito > Thanks, applied to my tracing-next tree: https://github.com/stefanha/qemu/commits/tracing-next Stefan