lkml.org 
[lkml]   [2014]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip v8 16/26] ftrace/kprobes: Use NOKPROBE_SYMBOL macro in ftrace
(2014/03/25 5:10), Steven Rostedt wrote:
> On Wed, 05 Mar 2014 21:00:35 +0900
> Masami Hiramatsu <masami.hiramatsu.pt@hitachi.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.

OK, thank you! :)

>
>> {
>> 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
>


--
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com




\
 
 \ /
  Last update: 2014-03-25 12:21    [W:0.074 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site