]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dbf975bb4fe13b2b5e27ec33eeb886f00a42f1f
treeffda997448882281bb484cfdc039660d944488cd
parente099573c11e6ee4d2c08d38fea4d4e980c3db431
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