OSDN Git Service

tools/rv: Add dot2c
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 29 Jul 2022 09:38:46 +0000 (11:38 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 30 Jul 2022 18:01:29 +0000 (14:01 -0400)
commite3c9fc78f096b83e81329b213c25fb9a376e373a
tree63b736fa609c6090d3d7cbbd625e068f33184790
parentff0aaf671230d409a68fd7400f41e9eb3ac61dd8
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 <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marco Elver <elver@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Gabriele Paoloni <gpaoloni@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Tao Zhou <tao.zhou@linux.dev>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-trace-devel@vger.kernel.org
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/verification/dot2/Makefile [new file with mode: 0644]
tools/verification/dot2/automata.py [new file with mode: 0644]
tools/verification/dot2/dot2c [new file with mode: 0644]
tools/verification/dot2/dot2c.py [new file with mode: 0644]