Messages in this thread | | | Date | Wed, 13 Mar 2013 22:46:49 +0900 | From | Masami Hiramatsu <> | Subject | Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section |
| |
(2013/03/13 22:28), Timo Juhani Lindfors wrote: > Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> writes: >> OK, then I'll update it to just use __always_inline. > > I get a similar case of infinite recursion if I try to kprobe > "inat_get_opcode_attribute":
Oops, right! And this is caused by below callchain set_current_kprobes->is_IF_modifier->skip_prefixes ->inat_get_opcode_attribute However, this looks very wired that the copied instruction (ainsn->insn) is analyzed at every probe hit. I think we should add a bit flag indicating IF modifier to the ainsn.
Thank you for reporting!!
-- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com
| |