* [Qemu-devel] [PULL v2 00/15] Tracing patches
@ 2015-11-11 7:34 Stefan Hajnoczi
2015-11-11 11:20 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2015-11-11 7:34 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi
v2:
* Fixed missing log.py file when merging "trace: convert stderr backend to log" [Peter]
The following changes since commit a77067f6ac9b17beefea506ce5f514072fe3fcf4:
Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20151110' into staging (2015-11-10 17:49:39 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/tracing-pull-request
for you to fetch changes up to 8b7034c1e0bdce2c3dd38e8445d2040449afa15c:
log: add "-d trace:PATTERN" (2015-11-11 06:52:32 +0000)
----------------------------------------------------------------
----------------------------------------------------------------
Denis V. Lunev (2):
trace: no need to call trace_backend_init in different branches now
log: move qemu-log.c into util/ directory
Paolo Bonzini (11):
trace: count number of enabled events
trace: track enabled events in a separate array
trace: fix documentation
trace: split trace_init_events out of trace_init_backends
trace: split trace_init_file out of trace_init_backends
trace: add "-trace enable=..."
trace: add "-trace help"
log: do not unnecessarily include qom/cpu.h
trace: convert stderr backend to log
trace: switch default backend to "log"
log: add "-d trace:PATTERN"
Stefan Hajnoczi (2):
trace: fix make foo-timestamp rules
trace: add make dependencies on tracetool source
Makefile.objs | 1 -
bsd-user/main.c | 1 +
configure | 6 +-
cpu-exec.c | 1 +
exec.c | 1 +
hw/acpi/cpu_hotplug.c | 1 +
hw/timer/a9gtimer.c | 1 +
include/exec/log.h | 60 +++++++++++
include/qemu/log.h | 60 +----------
linux-user/main.c | 1 +
qemu-io.c | 2 +-
qemu-log.c | 177 --------------------------------
qemu-options.hx | 22 ++--
qom/cpu.c | 1 +
scripts/tracetool/backend/log.py | 48 +++++++++
scripts/tracetool/backend/stderr.py | 47 ---------
scripts/tracetool/format/events_c.py | 2 +-
target-alpha/translate.c | 1 +
target-arm/translate.c | 1 +
target-cris/translate.c | 1 +
target-i386/seg_helper.c | 1 +
target-i386/smm_helper.c | 1 +
target-i386/translate.c | 1 +
target-lm32/helper.c | 1 +
target-lm32/translate.c | 1 +
target-m68k/translate.c | 1 +
target-microblaze/helper.c | 1 +
target-microblaze/translate.c | 1 +
target-mips/helper.c | 1 +
target-mips/translate.c | 1 +
target-moxie/translate.c | 1 +
target-openrisc/translate.c | 1 +
target-ppc/mmu-hash32.c | 1 +
target-ppc/mmu-hash64.c | 1 +
target-ppc/mmu_helper.c | 1 +
target-ppc/translate.c | 1 +
target-s390x/translate.c | 1 +
target-sh4/helper.c | 1 +
target-sh4/translate.c | 1 +
target-sparc/int32_helper.c | 1 +
target-sparc/int64_helper.c | 1 +
target-sparc/translate.c | 1 +
target-tilegx/translate.c | 1 +
target-tricore/translate.c | 1 +
target-unicore32/translate.c | 1 +
target-xtensa/translate.c | 1 +
tcg/tcg.c | 1 +
trace/Makefile.objs | 48 +++++----
trace/control-internal.h | 15 ++-
trace/control.c | 98 +++++++++++++-----
trace/control.h | 44 +++++++-
trace/event-internal.h | 2 -
trace/simple.c | 6 +-
trace/simple.h | 4 +-
translate-all.c | 1 +
util/Makefile.objs | 1 +
util/log.c | 190 +++++++++++++++++++++++++++++++++++
vl.c | 38 ++++---
58 files changed, 536 insertions(+), 373 deletions(-)
create mode 100644 include/exec/log.h
delete mode 100644 qemu-log.c
create mode 100644 scripts/tracetool/backend/log.py
delete mode 100644 scripts/tracetool/backend/stderr.py
create mode 100644 util/log.c
--
2.5.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL v2 00/15] Tracing patches
2015-11-11 7:34 [Qemu-devel] [PULL v2 00/15] Tracing patches Stefan Hajnoczi
@ 2015-11-11 11:20 ` Peter Maydell
2015-11-13 3:48 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2015-11-11 11:20 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: QEMU Developers
On 11 November 2015 at 07:34, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> v2:
> * Fixed missing log.py file when merging "trace: convert stderr backend to log" [Peter]
>
> The following changes since commit a77067f6ac9b17beefea506ce5f514072fe3fcf4:
>
> Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20151110' into staging (2015-11-10 17:49:39 +0000)
>
> are available in the git repository at:
>
> git://github.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to 8b7034c1e0bdce2c3dd38e8445d2040449afa15c:
>
> log: add "-d trace:PATTERN" (2015-11-11 06:52:32 +0000)
>
Fails to build on all platforms :-(
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c: In
function ‘gen_intermediate_code_a64’:
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11229:9:
error: implicit declaration of function ‘lookup_symbol’
[-Werror=implicit-function-declaration]
qemu_log("IN: %s\n", lookup_symbol(pc_start));
^
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11229:9:
error: nested extern declaration of ‘lookup_symbol’
[-Werror=nested-externs]
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11229:9:
error: format ‘%s’ expects argument of type ‘char *’, but argument 2
has type ‘int’ [-Werror=format=]
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11230:9:
error: implicit declaration of function ‘log_target_disas’
[-Werror=implicit-function-declaration]
log_target_disas(cs, pc_start, dc->pc - pc_start,
^
/home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11230:9:
error: nested extern declaration of ‘log_target_disas’
[-Werror=nested-externs]
cc1: all warnings being treated as errors
thanks
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL v2 00/15] Tracing patches
2015-11-11 11:20 ` Peter Maydell
@ 2015-11-13 3:48 ` Stefan Hajnoczi
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2015-11-13 3:48 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers, Stefan Hajnoczi
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
On Wed, Nov 11, 2015 at 11:20:52AM +0000, Peter Maydell wrote:
> On 11 November 2015 at 07:34, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > v2:
> > * Fixed missing log.py file when merging "trace: convert stderr backend to log" [Peter]
> >
> > The following changes since commit a77067f6ac9b17beefea506ce5f514072fe3fcf4:
> >
> > Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20151110' into staging (2015-11-10 17:49:39 +0000)
> >
> > are available in the git repository at:
> >
> > git://github.com/stefanha/qemu.git tags/tracing-pull-request
> >
> > for you to fetch changes up to 8b7034c1e0bdce2c3dd38e8445d2040449afa15c:
> >
> > log: add "-d trace:PATTERN" (2015-11-11 06:52:32 +0000)
> >
>
> Fails to build on all platforms :-(
>
> /home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c: In
> function ‘gen_intermediate_code_a64’:
> /home/petmay01/linaro/qemu-for-merges/target-arm/translate-a64.c:11229:9:
> error: implicit declaration of function ‘lookup_symbol’
> [-Werror=implicit-function-declaration]
> qemu_log("IN: %s\n", lookup_symbol(pc_start));
> ^
Sorry. I've updated my build-all.sh script to really build all QEMU
targets (including aarch64).
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-13 3:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11 7:34 [Qemu-devel] [PULL v2 00/15] Tracing patches Stefan Hajnoczi
2015-11-11 11:20 ` Peter Maydell
2015-11-13 3:48 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).