[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200122131924.49b01587a8ed5149d44f3a94@kernel.org>
Date: Wed, 22 Jan 2020 13:19:24 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Alex Shi <alex.shi@...ux.alibaba.com>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] trace/kprobe: remove MAX_KPROBE_CMDLINE_SIZE
On Tue, 21 Jan 2020 18:34:38 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
> Masami,
>
> With your new bootconfig work, will you be utilizing
> MAX_KPROBE_CMDLINE_SIZE, or should it be removed?
Good catch! Yes, please remove it.
I think I have forgot to remove it when I switched
to COMMAND_LINE_SIZE while writing the code.
Acked-by: Masami Hiramatsu <mhiramat@...nel.org>
Thank you!
>
> -- Steve
>
>
> On Tue, 21 Jan 2020 13:54:35 +0800
> Alex Shi <alex.shi@...ux.alibaba.com> wrote:
>
> > 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?
> >
> > Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
> > Cc: Steven Rostedt <rostedt@...dmis.org>
> > Cc: Ingo Molnar <mingo@...hat.com>
> > Cc: linux-kernel@...r.kernel.org
> > ---
> > kernel/trace/trace_kprobe.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c
> > index 7f890262c8a3..eafa90d0f760 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;
>
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists