summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-06-27 15:30:23 +0200
committerJoel Granados <j.granados@samsung.com>2024-04-24 09:43:53 +0200
commit66f20b11d3a31bcfe2f64e6a91238bd71b7eb72f (patch)
treeb422bc57ba4ef6928ea8a76696e61a234a613394 /kernel/trace/ftrace.c
parentumh: Remove the now superfluous sentinel elements from ctl_table array (diff)
downloadlinux-66f20b11d3a31bcfe2f64e6a91238bd71b7eb72f.tar.xz
linux-66f20b11d3a31bcfe2f64e6a91238bd71b7eb72f.zip
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>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index da1710499698..6cec53aa45a6 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -8270,7 +8270,6 @@ static struct ctl_table ftrace_sysctls[] = {
.mode = 0644,
.proc_handler = ftrace_enable_sysctl,
},
- {}
};
static int __init ftrace_sysctl_init(void)