ftrace: Remove the now superfluous sentinel elements from ctl_table array
authorJoel Granados <j.granados@samsung.com>
Tue, 27 Jun 2023 13:30:23 +0000 (15:30 +0200)
committerJoel Granados <j.granados@samsung.com>
Wed, 24 Apr 2024 07:43:53 +0000 (09:43 +0200)
commit66f20b11d3a31bcfe2f64e6a91238bd71b7eb72f
treeb422bc57ba4ef6928ea8a76696e61a234a613394
parent7fd9c63f8777094514b46834c561647040f12fbb
ftrace: Remove the now superfluous sentinel elements from ctl_table array

This commit comes at the tail end of a greater effort to remove the
empty elements at the end of the ctl_table arrays (sentinels) which
will reduce the overall build time size of the kernel and run time
memory bloat by ~64 bytes per sentinel (further information Link :
https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/)

Remove sentinel elements from ftrace_sysctls and user_event_sysctls

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Joel Granados <j.granados@samsung.com>
kernel/trace/ftrace.c
kernel/trace/trace_events_user.c