[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20161222064050.nxt4baiknnovwmjb@treble>
Date: Thu, 22 Dec 2016 00:40:50 -0600
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Detecting kprobes generated code addresses
Hi Masami,
I would like to make __kernel_text_address() be able to detect whether
an address belongs to code which was generated by kprobes. As far as I
can tell, that information seems to be in the 'pages' lists of
kprobe_insn_slots and kprobe_optinsn_slots. But they seem to be
protected by mutexes. Do you know if there's a sleep-free way to access
that
protected
--
Josh
Powered by blists - more mailing lists