(2013/03/13 22:28), Timo Juhani Lindfors wrote: > Masami Hiramatsu <masami.hiramatsu...@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...@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/