]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: FBT entry probes will now use int3
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 13 Jun 2017 16:33:04 +0000 (12:33 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Wed, 28 Jun 2017 16:01:04 +0000 (12:01 -0400)
commitbdb059a29e601e98c2a81d2f90216db0b41f4bff
tree072eb3f29241cd34afb263f7d04b4d49d4ad6955
parente108fda7afa3fe41619f42fe20004aee7ebff6a2
dtrace: FBT entry probes will now use int3

Due to some function prologues inserting an instruction between the
push rbp and mov rsp,rbp instruction *and* that instruction being one
that can validly take a LOCK profix (e.g. inc), it is not safe to
continue using the LOCK prefix as a way to trigger an Invalid Opcode
trap for FBT entry probes.  The new trigger uses int3 (like the return
probes already do).

Orabug: 26190412
Orabug: 26174895
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/fbt_x86_64.c