As on amd64, a disabled tracepoint must be a single instruction, so
that a thread cannot be interrupted inside it and resume in the middle
of the jump written when the probe is enabled. On i386, both
_SDT_ASM_PATCH_INSTR and sdt_tracepoint_restore() used five one-byte
NOPs.
Use "leal %ds:0(%esi,%eiz,1), %esi" (3e 8d 74 26 00) instead. The
multi-byte NOP (0f 1f) is avoided because i386 GENERIC still supports
CPUs without it.
Tested on stable/15 i386 under bhyve with a reproducer that toggles a
probe while other CPUs run its sites.
MFC after: 1w
Co-authored-by: Claude Opus 5.5