Re: [PATCH] include/linux/kprobes.h: move all functions to their matched area

2014-02-05 Thread Chen Gang
On 02/05/2014 03:51 PM, Masami Hiramatsu wrote: > (2014/02/05 14:27), Chen Gang wrote: >> For dummy functions, it is not a good idea to still use the input >> parameters (not a good idea to assume they are still effect). >> >> - let kprobe* static inline functions in CONFIG_KPROBES, dummy outside.

Re: [PATCH] include/linux/kprobes.h: move all functions to their matched area

2014-02-04 Thread Masami Hiramatsu
(2014/02/05 14:27), Chen Gang wrote: > For dummy functions, it is not a good idea to still use the input > parameters (not a good idea to assume they are still effect). > > - let kprobe* static inline functions in CONFIG_KPROBES, dummy outside. > > - let (en/dis)able_jprobe() in CONFIG_KPROBES,

[PATCH] include/linux/kprobes.h: move all functions to their matched area

2014-02-04 Thread Chen Gang
For dummy functions, it is not a good idea to still use the input parameters (not a good idea to assume they are still effect). - let kprobe* static inline functions in CONFIG_KPROBES, dummy outside. - let (en/dis)able_jprobe() in CONFIG_KPROBES, dummy outside. - for kretprobe: - let kret