lkml.org 
[lkml]   [2015]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2015-07-03 12:21    [W:0.038 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site