Messages in this thread | | | Date | Sun, 01 Dec 2013 11:16:34 +0900 | From | Masami Hiramatsu <> | Subject | Re: Re: Re: Re: Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist |
| |
(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
| |