linux/kernel/trace/rv/monitors/scpd
Gabriele Monaco 3d2bfeeef3 verification/dot2c: Remove superfluous enum assignment and add last comma
The header files generated by dot2c currently create enums for states
and events assigning the first element to 0. This is superfluous as it
happens automatically if no value is specified.
Also it doesn't add a comma to the last enum elements, which slightly
complicates the diff if states or events are added.

Remove the assignment to 0 and add a comma to last elements, this
simplifies the logic for the code generator.

Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251126104241.291258-8-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
2026-01-12 07:43:50 +01:00
..
Kconfig rv: Adjust monitor dependencies 2025-07-28 16:47:34 -04:00
scpd.c rv: Refactor da_monitor to minimise macros 2026-01-12 07:43:49 +01:00
scpd.h verification/dot2c: Remove superfluous enum assignment and add last comma 2026-01-12 07:43:50 +01:00
scpd_trace.h rv: Add scpd, snep and sncid per-cpu monitors 2025-03-24 17:27:39 -04:00