]> www.infradead.org Git - users/dwmw2/linux.git/commit
verification/dot2k: Add support for name and description options
authorGabriele Monaco <gmonaco@redhat.com>
Fri, 27 Dec 2024 14:47:48 +0000 (15:47 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 27 Dec 2024 19:19:34 +0000 (14:19 -0500)
commit64b3e5f0d45329bc593e13b64dcdcf836da006cd
tree3de09f0e514d67d5c4967538d7ea38b7eba58456
parent91f3407e13b89b7391ebc5b6143fd22edd901041
verification/dot2k: Add support for name and description options

The dot2k command includes options to set a model name with -n and a
description with -D, however those are not used in practice.

This patch allows to specify a custom model name (by default the name of
the dot file without extension) and a description which overrides the
one in the C file.

Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
Link: https://lore.kernel.org/20241227144752.362911-5-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/verification/dot2/automata.py
tools/verification/dot2/dot2c.py
tools/verification/dot2/dot2k
tools/verification/dot2/dot2k.py
tools/verification/dot2/dot2k_templates/main.c