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