Re: [PATCH -tip v3 02/23] kprobes: Introduce NOKPROBE_SYMBOL() macro for blacklist

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 22:32), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> +#ifdef CONFIG_KPROBES >> +/* >> + * Blacklist ganerating macro. Specify functions which is not probed >> + * by using this macro. >> + */ >> +#define __NOKPROBE_SYMBOL(fname)\ >> +static struct

Re: [PATCH -tip v3 02/23] kprobes: Introduce NOKPROBE_SYMBOL() macro for blacklist

2013-11-27 Thread Ingo Molnar
* Masami Hiramatsu wrote: > +#ifdef CONFIG_KPROBES > +/* > + * Blacklist ganerating macro. Specify functions which is not probed > + * by using this macro. > + */ > +#define __NOKPROBE_SYMBOL(fname) \ > +static struct kprobe_blackpoint __used \ >

[PATCH -tip v3 02/23] kprobes: Introduce NOKPROBE_SYMBOL() macro for blacklist

2013-11-19 Thread Masami Hiramatsu
Introduce NOKPROBE_SYMBOL() macro which builds a kprobe blacklist in build time. The usage of this macro is similar to the EXPORT_SYMBOL, put the NOKPROBE_SYMBOL(function); just after the function definition. If CONFIG_KPROBES=y, the macro is expanded to the definition of a static data structure o