Re: Query: How to blacklist asm symbols for kprobe

From: Pratyush Anand
Date: Fri Jul 03 2015 - 06:07:52 EST


On 29/06/2015:02:46:13 PM, Pratyush Anand wrote:
> Hi,
>
> There might be some symbols defined in asm file, which need to be
> prevented for kprobe-ing.
>
> For example, el0_sync, el1_sync, el0_dbg, el1_dbg etc (in
> arch/arm64/kernel/entry.S) should be added to the kprobe blacklist
> table. How can we do that?

I think, we need to define them under "section .entry.text" and then
to use arch_within_kprobe_blacklist to prevent such symbols from kprobing.

~Pratyush
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/