[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/2] trace: [*-user] Add commandline argument
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/2] trace: [*-user] Add commandline arguments to control tracing |
Date: |
Fri, 15 Jul 2016 19:48:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Peter Maydell writes:
> On 15 July 2016 at 18:08, Lluís Vilanova <address@hidden> wrote:
>> Adds three commandline arguments to the main *-user programs, following
>> what's
>> already available in softmmu:
>>
>> * -trace-enable
>> * -trace-events
>> * -trace-file
> So when would you want to use these rather than the existing
> -d trace:pattern and -D logfile options?
These are different logs/traces. The ones you point out are textual traces for
TCG guest/target instructions (and where to write them). The ones I've added are
for QEMU's tracing infrastructure.
Note that both (-trace vs -d/-D) are also available in system mode (vl.c).
BTW, I forgot to update the series cover according to v3's changes.
Cheers,
Lluis