diff options
author | 2020-01-21 13:54:35 +0800 | |
---|---|---|
committer | 2020-01-22 07:07:38 -0500 | |
commit | 659ded30272d67a04b3692f0bfa12263be20d790 (patch) | |
tree | 54c41328da3cf9eb289fae154baef1f5d4aaf7d7 | |
parent | tracing: Fix uninitialized buffer var on early exit to trace_vbprintk() (diff) | |
download | linux-659ded30272d67a04b3692f0bfa12263be20d790.tar.gz linux-659ded30272d67a04b3692f0bfa12263be20d790.tar.bz2 linux-659ded30272d67a04b3692f0bfa12263be20d790.zip |
trace/kprobe: Remove unused MAX_KPROBE_CMDLINE_SIZE
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>
-rw-r--r-- | kernel/trace/trace_kprobe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 283b7c437440..bf20cd7f2666 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -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; |