]> git.ipfire.org Git - thirdparty/qemu.git/commit
tracetool: Forbid newline character in event format
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Jun 2024 10:39:43 +0000 (12:39 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 10 Jun 2024 17:05:27 +0000 (13:05 -0400)
commit4c2b6f328742084a5bd770af7c3a2ef07828c41c
tree5d7631b761c3d5fb5718d6d5ee8e4ccdff32a745
parent956f63f87826fcd96d256bdbca17d31b060940e0
tracetool: Forbid newline character in event format

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é <philmd@linaro.org>
Acked-by: Mads Ynddal <mads@ynddal.dk>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240606103943.79116-6-philmd@linaro.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/__init__.py