rv/monitors: Move monitor structure in rodata
authorAlessandro Carminati <acarmina@redhat.com>
Tue, 22 Nov 2022 17:36:48 +0000 (18:36 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 20 Dec 2022 16:46:40 +0000 (11:46 -0500)
commitbfa87ac86ce9ff879c5ac49bf09c3999859a8968
tree4209b4aaa97fda374c8eada59031dbeeb7d26488
parenteb9d58947d40699d93e5e69e1ddc54e41da7e132
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/20221122173648.4732-1-acarmina@redhat.com
Signed-off-by: Alessandro Carminati <acarmina@redhat.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/rv/monitors/wip/wip.h
kernel/trace/rv/monitors/wwnr/wwnr.h
tools/verification/dot2/dot2c.py