[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140324161025.3f51bab6@gandalf.local.home>
Date: Mon, 24 Mar 2014 16:10:25 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Andi Kleen <andi@...stfloor.org>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Sandeepa Prabhu <sandeepa.prabhu@...aro.org>,
Frederic Weisbecker <fweisbec@...il.com>, x86@...nel.org,
fche@...hat.com, mingo@...hat.com, systemtap@...rceware.org,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH -tip v8 16/26] ftrace/kprobes: Use NOKPROBE_SYMBOL macro
in ftrace
On Wed, 05 Mar 2014 21:00:35 +0900
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com> wrote:
> -static __kprobes
> +static
> int kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs)
again, static and int should be on the same line.
> {
> struct trace_kprobe *tk = container_of(ri->rp, struct trace_kprobe, rp);
> @@ -1268,6 +1279,7 @@ int kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs)
> #endif
> return 0; /* We don't tweek kernel, so just return 0 */
> }
> +NOKPROBE_SYMBOL(kretprobe_dispatcher);
>
> static struct trace_event_functions kretprobe_funcs = {
> .trace = print_kretprobe_event
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists