Messages in this thread | | | Date | Fri, 3 Jul 2015 15:37:39 +0530 | From | Pratyush Anand <> | Subject | Re: Query: How to blacklist asm symbols for kprobe |
| |
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
| |