[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/8] Rewrite tracetool using python modules
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/8] Rewrite tracetool using python modules |
Date: |
Mon, 26 Mar 2012 19:31:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Stefan Hajnoczi writes:
> I tried to build this after make distclean with the nop backend:
> GEN trace.h
> Traceback (most recent call last):
> File "/home/stefanha/qemu/scripts/tracetool.py", line 141, in <module>
> main(sys.argv)
> File "/home/stefanha/qemu/scripts/tracetool.py", line 136, in main
> tracetool.generate(sys.stdin, arg_format, arg_backend, **kwargs)
> File "/home/stefanha/qemu/scripts/tracetool/__init__.py", line 177,
> in generate
> if not tracetool.format.exists(mformat):
> UnboundLocalError: local variable 'tracetool' referenced before assignment
> Do you also get this error?
Strange, I didn't get it on my first tests, but now I do on a clean checkout.
I'll resend the series (a simple "import tracetool" in the "generate" body seems
to work).
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
- [Qemu-devel] [RFC PATCH 0/8] Rewrite tracetool using python modules, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 1/8] tracetool: Rewrite infrastructure as python modules, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 2/8] tracetool: Add module for the 'c' format, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 3/8] tracetool: Add module for the 'h' format, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 4/8] tracetool: Add support for the 'stderr' backend, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 5/8] tracetool: Add support for the 'simple' backend, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 6/8] tracetool: Add support for the 'ust' backend, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 7/8] tracetool: Add support for the 'dtrace' backend, Lluís Vilanova, 2012/03/22
- [Qemu-devel] [RFC PATCH 8/8] tracetool: Add MAINTAINERS info, Lluís Vilanova, 2012/03/22
- Re: [Qemu-devel] [RFC PATCH 0/8] Rewrite tracetool using python modules, Stefan Hajnoczi, 2012/03/26
- Re: [Qemu-devel] [RFC PATCH 0/8] Rewrite tracetool using python modules,
Lluís Vilanova <=