Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1176463

Re: Query: How to blacklist asm symbols for kprobe

From Pratyush Anand <panand@redhat.com>
Newsgroups linux.kernel
Subject Re: Query: How to blacklist asm symbols for kprobe
Date 2015-07-03 12:10 +0200
Message-ID <pI64W-7ct-19@gated-at.bofh.it> (permalink)
References <pGDon-788-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: Query: How to blacklist asm symbols for kprobe Pratyush Anand <panand@redhat.com> - 2015-07-03 12:10 +0200

csiph-web