[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230318152958.16055098@rorschach.local.home>
Date: Sat, 18 Mar 2023 15:29:58 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Luis Chamberlain <mcgrof@...nel.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
Jiri Olsa <jolsa@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
<linux-trace-kernel@...r.kernel.org>,
<live-patching@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-modules@...r.kernel.org>
Subject: Re: [PATCH] kallsyms: Delete an unused parameter related to
{module_}kallsyms_on_each_symbol()
On Wed, 8 Mar 2023 15:38:46 +0800
Zhen Lei <thunder.leizhen@...wei.com> wrote:
> diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
> index 29baa97d0d53428..76caca8f496aaed 100644
> --- a/kernel/trace/ftrace.c
> +++ b/kernel/trace/ftrace.c
> @@ -8391,8 +8391,7 @@ struct kallsyms_data {
> * and returns 1 in case we resolved all the requested symbols,
> * 0 otherwise.
> */
> -static int kallsyms_callback(void *data, const char *name,
> - struct module *mod, unsigned long addr)
> +static int kallsyms_callback(void *data, const char *name, unsigned long addr)
> {
> struct kallsyms_data *args = data;
> const char **sym;
> --
Acked-by: Steven Rostedt (Google) <rostedt@...dmis.org>
-- Steve
Powered by blists - more mailing lists