stapstd elf note flags
Frank Ch. Eigler
fche@redhat.com
Mon Jan 12 23:11:49 GMT 2026
Hi -
> > Just one more bit of detail please: what NOP5 instruction is it that
> > would require two interrupts through an older kernel? There doesn't
> > exist another 5-byte nop that (how much?) older kernels recognize as
> > one instruction?
>
> Jiri is currently using:
>
> 0f 1f 44 00 00 nop DWORD PTR [rax+rax*1+0x0]
>
> I don't think there is any 5-byte nop that would be handled by (older)
> kernels without single-stepping.
Note the question was *regression*, i.e., worse than the status quo on
these old kernels. AIUI, there's an int3 hit for each such uprobe
anyway, so what I'm looking for is an explanation why there would be
TWO if you switched the nop1 to any conceivable nop5.
> [...]
> But please double check, I believe that logic is in
> arch_uprobe_analyze_insn in arch/x86/kernel/uprobes.c
Righto.
> > (What kind/size of nop a NT_STAPSDT refers to is not actually limited
> > by the spec.)
>
> but unfortunately the size of nop instruction(s) is also not recorded
> anywhere, which is why we are in this predicament
(Ideally, the size should not matter.)
- FChE
More information about the Systemtap
mailing list