Re: [PATCH] kernel/kprobes.c: move kretprobe implementation to CONFIG_KRETPROBES area

2014-02-04 Thread Chen Gang
On 02/05/2014 01:00 PM, Masami Hiramatsu wrote: > (2014/02/05 12:36), Chen Gang wrote: >> > When CONFIG_KRETPROBES disabled, kretprobe implementation are useless, >> > so need move them to CONFIG_KPROBES area. >> > >> > - move all kretprobe* to CONFIG_KPROBES area and dummy outside. >> > - defin

Re: [PATCH] kernel/kprobes.c: move kretprobe implementation to CONFIG_KRETPROBES area

2014-02-04 Thread Masami Hiramatsu
(2014/02/05 12:36), Chen Gang wrote: > When CONFIG_KRETPROBES disabled, kretprobe implementation are useless, > so need move them to CONFIG_KPROBES area. > > - move all kretprobe* to CONFIG_KPROBES area and dummy outside. > - define kretprobe_flush_task() to let kprobe_flush_task() call. > - de

[PATCH] kernel/kprobes.c: move kretprobe implementation to CONFIG_KRETPROBES area

2014-02-04 Thread Chen Gang
When CONFIG_KRETPROBES disabled, kretprobe implementation are useless, so need move them to CONFIG_KPROBES area. - move all kretprobe* to CONFIG_KPROBES area and dummy outside. - define kretprobe_flush_task() to let kprobe_flush_task() call. - define init_kretprobes() to let init_kprobes() call