[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180514090336.e6f3ec9e750cc14faf38714c@kernel.org>
Date: Mon, 14 May 2018 09:03:36 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...nel.org>,
Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Ananth N Mavinakayanahalli <ananth@...ux.vnet.ibm.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
"David S . Miller" <davem@...emloft.net>,
Josef Bacik <jbacik@...com>,
Alexei Starovoitov <ast@...nel.org>
Subject: Re: [RFC PATCH -tip 2/4] kprobes: Remove jprobe generic code
On Sun, 13 May 2018 21:55:38 +0200 (CEST)
Thomas Gleixner <tglx@...utronix.de> wrote:
> On Tue, 8 May 2018, Masami Hiramatsu wrote:
>
> > Remove jprobe arch independent generic code
> > from kernel/kprobes.c.
>
> # git grep register_jprobes
> include/linux/kprobes.h:static inline int register_jprobes(struct jprobe **jps, int num)
> include/linux/kprobes.h:static inline void unregister_jprobes(struct jprobe **jps, int num)
> kernel/test_kprobes.c: ret = register_jprobes(jps, 2);
> kernel/test_kprobes.c: pr_err("register_jprobes returned %d\n", ret);
> kernel/test_kprobes.c: unregister_jprobes(jps, 2);
>
> You forgot to remove a few things ...
Ah, thoes are already disabled (with #if 0) but it is better to remove it first.
Thanks!
>
> Thanks,
>
> tglx
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists