Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-22 Thread Stefan Hajnoczi
On Wed, Mar 21, 2012 at 03:10:49PM +0100, Lluís Vilanova wrote: Stefan Hajnoczi writes: [...] Maybe this would work nice for everybody: tracetool.py                  # main program (just parse cmdline opts and call tracetool module) tracetool/__init__.py         # common boilerplate

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-21 Thread Stefan Hajnoczi
2012/3/20 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: 2012/3/20 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: 2012/3/13 Lluís Vilanova vilan...@ac.upc.edu: Adds decorators to establish which backend and/or format each routine is meant to process. With

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-21 Thread Lluís Vilanova
Stefan Hajnoczi writes: [...] Maybe this would work nice for everybody: tracetool.py                  # main program (just parse cmdline opts and call tracetool module) tracetool/__init__.py         # common boilerplate code (e.g., event parsing and call dispatching)

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-21 Thread Lluís Vilanova
Stefan Hajnoczi writes: [...] In order to avoid rebasing and porting too many fixes from tracetool to tracetool.py I suggest you resend this series without the format/backend consolidation code. I can merge this series quickly and we can handle the format/backend consolidation code in a

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-21 Thread Lluís Vilanova
Lluís Vilanova writes: Stefan Hajnoczi writes: [...] In order to avoid rebasing and porting too many fixes from tracetool to tracetool.py I suggest you resend this series without the format/backend consolidation code. I can merge this series quickly and we can handle the format/backend

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-20 Thread Stefan Hajnoczi
2012/3/13 Lluís Vilanova vilan...@ac.upc.edu: Adds decorators to establish which backend and/or format each routine is meant to process. With this, tables enumerating format and backend routines can be eliminated and part of the usage message can be computed in a more generic way.

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-20 Thread Lluís Vilanova
Stefan Hajnoczi writes: 2012/3/13 Lluís Vilanova vilan...@ac.upc.edu: Adds decorators to establish which backend and/or format each routine is meant to process. With this, tables enumerating format and backend routines can be eliminated and part of the usage message can be computed in

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-20 Thread Stefan Hajnoczi
2012/3/20 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: 2012/3/13 Lluís Vilanova vilan...@ac.upc.edu: Adds decorators to establish which backend and/or format each routine is meant to process. With this, tables enumerating format and backend routines can be eliminated and

Re: [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-20 Thread Lluís Vilanova
Stefan Hajnoczi writes: 2012/3/20 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: 2012/3/13 Lluís Vilanova vilan...@ac.upc.edu: Adds decorators to establish which backend and/or format each routine is meant to process. With this, tables enumerating format and backend

[Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats

2012-03-13 Thread Lluís Vilanova
Adds decorators to establish which backend and/or format each routine is meant to process. With this, tables enumerating format and backend routines can be eliminated and part of the usage message can be computed in a more generic way. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu