qemu-devel
[Top][All Lists]
Advanced

[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: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v3 0/2] trace: [*-user] Add commandline arguments to control tracing
Date: Fri, 15 Jul 2016 18:49:51 +0100

On 15 July 2016 at 18:48, Lluís Vilanova <address@hidden> wrote:
> 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.

-d trace:pattern works for any tracepoint.

> Note that both (-trace vs -d/-D) are also available in system mode (vl.c).

True, so consistency probably makes it worth providing both interfaces.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]