[PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Masami Hiramatsu
masami.hiramatsu.pt@hitachi.com
Sun Dec 1 02:16:00 GMT 2013
(2013/11/30 22:46), Ingo Molnar wrote:
>>>> Anyway, to fix all of them, I think we need file-based blacklist
>>>> especially for assembler symbols.
>>>
>>> assembler symbols shouldn't be particular hard either, just put them
>>> into the noprobes section.
>>
>> Would you mean .kprobes.text? Hmm, I hope not to use it anymore, but
>> yeah, bugfix is more important. Agreed.
>
> No, why not put the symbol address into the 'blacklist' section,
> within the asm file? We fill out exception table entries in .S files
> as well, see the _ASM_EXTABLE() macro, it's possible to do all that.
Oh! I got it. Thank you for the pointer! :)
>
> It needs not a CPP macro but an assembly macro.
OK, I'll try that.
Thanks again,
--
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com
More information about the Systemtap
mailing list