printk: export console trace point for kcsan/kasan/kfence/kmsan
authorPavankumar Kondeti <quic_pkondeti@quicinc.com>
Thu, 13 Apr 2023 10:08:59 +0000 (15:38 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:30:11 +0000 (16:30 -0700)
commit1f6ab566cb3be9e8292e34b89e8be83d75aa232e
treef0f348378c1092072792aca8366697d4fc6608fd
parentc7b23b68e2aa93f86a206222d23ccd9a21f5982a
printk: export console trace point for kcsan/kasan/kfence/kmsan

The console tracepoint is used by kcsan/kasan/kfence/kmsan test modules.
Since this tracepoint is not exported, these modules iterate over all
available tracepoints to find the console trace point.  Export the trace
point so that it can be directly used.

Link: https://lkml.kernel.org/r/20230413100859.1492323-1-quic_pkondeti@quicinc.com
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Marco Elver <elver@google.com>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/kcsan/kcsan_test.c
kernel/printk/printk.c
mm/kasan/kasan_test.c
mm/kfence/kfence_test.c
mm/kmsan/kmsan_test.c