Re: [PATCH-for-4.2 v3 3/3] trace: Forbid dynamic field width in event format

2019-11-18 Thread Philippe Mathieu-Daudé
On 11/18/19 10:26 PM, Eric Blake wrote: On 11/18/19 3:04 PM, Philippe Mathieu-Daudé wrote: Since not all trace backends support dynamic field width in format (dtrace via stap does not), forbid them. Add a check to refuse field width in new formats:    $ make    [...] GEN hw/block/trac

Re: [PATCH-for-4.2 v3 3/3] trace: Forbid dynamic field width in event format

2019-11-18 Thread Eric Blake
On 11/18/19 3:04 PM, Philippe Mathieu-Daudé wrote: Since not all trace backends support dynamic field width in format (dtrace via stap does not), forbid them. Add a check to refuse field width in new formats: $ make [...] GEN hw/block/trace.h Traceback (most recent call last):

[PATCH-for-4.2 v3 3/3] trace: Forbid dynamic field width in event format

2019-11-18 Thread Philippe Mathieu-Daudé
Since not all trace backends support dynamic field width in format (dtrace via stap does not), forbid them. Add a check to refuse field width in new formats: $ make [...] GEN hw/block/trace.h Traceback (most recent call last): File "scripts/tracetool.py", line 152, in mai