[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131127133224.GD18422@gmail.com>
Date: Wed, 27 Nov 2013 14:32:24 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: linux-arch@...r.kernel.org, Jeremy Fitzhardinge <jeremy@...p.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Arnd Bergmann <arnd@...db.de>,
Sandeepa Prabhu <sandeepa.prabhu@...aro.org>, x86@...nel.org,
lkml <linux-kernel@...r.kernel.org>,
"Steven Rostedt (Red Hat)" <rostedt@...dmis.org>,
virtualization@...ts.linux-foundation.org,
Chris Wright <chrisw@...s-sol.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Rob Landley <rob@...dley.net>, systemtap@...rceware.org,
"H. Peter Anvin" <hpa@...or.com>,
Alok Kataria <akataria@...are.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH -tip v3 02/23] kprobes: Introduce NOKPROBE_SYMBOL() macro
for blacklist
* Masami Hiramatsu <masami.hiramatsu.pt@...achi.com> 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 \
> + _kprobe_bp_##fname = { \
> + .name = #fname, \
> + .start_addr = (unsigned long)fname, \
> + }; \
> +static struct kprobe_blackpoint __used \
> + __attribute__((section("_kprobe_blacklist"))) \
> + *_p_kprobe_bp_##fname = &_kprobe_bp_##fname;
'kprobe_blackpoint' sounds a bit weird - how about
'kprobe_blacklist_entry' ?
also, _kprobe_blacklist probably wants to be _kprobes_blacklist,
right?
Thanks,
Ingo
--
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