Re: [PATCH 5/5] tracetool: Forbid newline character in event format

2024-06-06 Thread Daniel P . Berrangé
On Thu, Jun 06, 2024 at 12:39:43PM +0200, Philippe Mathieu-Daudé wrote: > Events aren't designed to be multi-lines. Multiple events > can be used instead. Prevent that format using multi-lines > by forbidding the newline character. > > Signed-off-by: Philippe Mathieu-Daudé > --- > scripts/tracet

[PATCH 5/5] tracetool: Forbid newline character in event format

2024-06-06 Thread Philippe Mathieu-Daudé
Events aren't designed to be multi-lines. Multiple events can be used instead. Prevent that format using multi-lines by forbidding the newline character. Signed-off-by: Philippe Mathieu-Daudé --- scripts/tracetool/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tracetoo