Gabriele Monaco
64b3e5f0d4
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 <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: John Kacur <[email protected] >
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Gabriele Monaco <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2024-12-27 14:19:34 -05:00
Alessandro Carminati
bfa87ac86c
rv/monitors: Move monitor structure in rodata
...
It makes sense to move the important monitor structure into rodata to
prevent accidental structure modification.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alessandro Carminati <[email protected] >
Acked-by: Daniel Bristot de Oliveira <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2022-12-20 11:46:40 -05:00
Daniel Bristot de Oliveira
21a1994b64
rv/dot2c: Make automaton definition static
...
Monitor's automata definition is only used locally, so make dot2c generate
a static definition.
Link: https://lore.kernel.org/all/[email protected]
Link: https://lore.kernel.org/all/[email protected]
Link: https://lkml.kernel.org/r/ffbb92010f643307766c9307fd42f416e5b85fa0.1661266564.git.bristot@kernel.org
Cc: Steven Rostedt <[email protected] >
Fixes: e3c9fc78f0 ("tools/rv: Add dot2c")
Reported-by: kernel test robot <[email protected] >
Signed-off-by: Daniel Bristot de Oliveira <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2022-10-20 16:02:45 -04:00
Daniel Bristot de Oliveira
4041b9bbfb
Documentation/rv: Add deterministic automaton documentation
...
Add documentation about deterministic automaton and its possible
representations (formal, graphic, .dot and C).
Link: https://lkml.kernel.org/r/387edaed87630bd5eb37c4275045dfd229700aa6.1659052063.git.bristot@kernel.org
Cc: Wim Van Sebroeck <[email protected] >
Cc: Guenter Roeck <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: "Paul E. McKenney" <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Gabriele Paoloni <[email protected] >
Cc: Juri Lelli <[email protected] >
Cc: Clark Williams <[email protected] >
Cc: Tao Zhou <[email protected] >
Cc: Randy Dunlap <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Bristot de Oliveira <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2022-07-30 14:01:29 -04:00
Daniel Bristot de Oliveira
e3c9fc78f0
tools/rv: Add dot2c
...
dot2c is a tool that transforms an automata in the graphiviz .dot file
into an C representation of the automata.
usage: dot2c [-h] dot_file
dot2c: converts a .dot file into a C structure
positional arguments:
dot_file The dot file to be converted
optional arguments:
-h, --help show this help message and exit
Link: https://lkml.kernel.org/r/b26204ba9509c80bcda31b76cdea31ddb188cd24.1659052063.git.bristot@kernel.org
Cc: Wim Van Sebroeck <[email protected] >
Cc: Guenter Roeck <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: "Paul E. McKenney" <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Gabriele Paoloni <[email protected] >
Cc: Juri Lelli <[email protected] >
Cc: Clark Williams <[email protected] >
Cc: Tao Zhou <[email protected] >
Cc: Randy Dunlap <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Bristot de Oliveira <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2022-07-30 14:01:29 -04:00