]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: make FBT entry probe detection less restrictive on x86_64
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 16 May 2017 03:05:41 +0000 (23:05 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 23 May 2017 13:44:30 +0000 (09:44 -0400)
commit65eca0f3c5984c5d1f360afc4bb52a31379d415a
tree9244af613af96b06743d09c62fe1cc28e3f29ace
parentee6513d58c43302144fe275f0e25151ba66e7fe4
dtrace: make FBT entry probe detection less restrictive on x86_64

The logic on x86_64 to determine whether we can probe a function is
too restrictive.  By placing the probe on the "push %rbp" instruction
we can cover more functions, in case the "mov %rsp,%rbp" instruction
does not follow it immediately.

Orabug: 25949030
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
arch/x86/kernel/dtrace_fbt.c