trace/kprobe: Remove unused MAX_KPROBE_CMDLINE_SIZE
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 05:54:35 +0000 (13:54 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 22 Jan 2020 12:07:38 +0000 (07:07 -0500)
This limitation are never lunched from introduce commit 970988e19eb0
("tracing/kprobe: Add kprobe_event= boot parameter")

Could we remove it if no intention to implement it?

Link: http://lkml.kernel.org/r/1579586075-45132-1-git-send-email-alex.shi@linux.alibaba.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c

index 283b7c4..bf20cd7 100644 (file)
@@ -22,7 +22,6 @@
 
 #define KPROBE_EVENT_SYSTEM "kprobes"
 #define KRETPROBE_MAXACTIVE_MAX 4096
-#define MAX_KPROBE_CMDLINE_SIZE 1024
 
 /* Kprobe early definition from command line */
 static char kprobe_boot_events_buf[COMMAND_LINE_SIZE] __initdata;