qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 10/11] trace: document how to specify multiple --trace pattern


From: BALATON Zoltan
Subject: Re: [PULL 10/11] trace: document how to specify multiple --trace patterns
Date: Mon, 1 Feb 2021 18:39:49 +0100 (CET)

On Mon, 1 Feb 2021, Paolo Bonzini wrote:
On 01/02/21 17:54, Kevin Wolf wrote:
How does this option parsing work? Would then multiple patterns separated by
comma as in -trace pattern1,pattern2 also work?
This would be interpreted as an implied "enable" option with a value of
"pattern1,pattern2". I don't think anything splits that string at the
comma, so it would look for a trace event matching that string.

Even worse, it would be interpreted as "-trace enable=pattern1,pattern2=on" (and raise a warning since recently).

Not very intuitive... What would -trace enable=pattern1,enable=pattern2 do then?



reply via email to

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