]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: adjust FBT entry probe dection for OL7
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 16 May 2017 02:42:30 +0000 (22:42 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 23 May 2017 13:44:26 +0000 (09:44 -0400)
commitee6513d58c43302144fe275f0e25151ba66e7fe4
tree8a05a26c57936320f80f4d7bb1292036b539561b
parent06c6bae4f7ff9220edbc95143592f241097ab152
dtrace: adjust FBT entry probe dection for OL7

On OL7, function prologues can be prefixed by a (5-byte) call
instruction on x86_64, which breaks the logic to determine if
we can place an FBT entry probe on that function.  The new logic
accounts for the possibility that the anticipated prologue does
not show up as first instruction of the function.

Orabug: 25921361
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Nick Alcock <nick.alcock@oracle.com>
arch/x86/kernel/dtrace_fbt.c