OSDN Git Service

ftrace: Add test to make sure compiled time sorts work
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 6 Dec 2021 20:18:58 +0000 (15:18 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 13 Jan 2022 21:23:05 +0000 (16:23 -0500)
commit8147dc78e6e4b645f8277bdf377f2193ddfcdee1
treeffda997448882281bb484cfdc039660d944488cd
parent72b3942a173c387b27860ba1069636726e208777
ftrace: Add test to make sure compiled time sorts work

Now that ftrace function pointers are sorted at compile time, add a test
that makes sure they are sorted at run time. This test is only run if it is
configured in.

Link: https://lkml.kernel.org/r/20211206151858.4d21a24d@gandalf.local.home
Cc: Yinan Liu <yinan@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/Kconfig
kernel/trace/ftrace.c