On 03/02, Alexei Starovoitov wrote: > > I suspect it's all working fine already. > Only x86 is using single byte uprobe. > All other archs are using 2 or 4 byte. Yes, so we have UPROBE_SWBP_INSN_SIZE > So replacing an insn or two with a call should work. Please note that __uprobe_register(offset) fails if !IS_ALIGNED(offset, UPROBE_SWBP_INSN_SIZE) Not to mention that if "call" replaces 2 insns we have another problem: what if another consumer wants to probe the 2ns insn ? but perhaps (quite possibly) I misunderstand you. Oleg.