The logic used to detect whether we can place a FBT entry probe on
a function has a limit on how many instructions should be looked
at. With the occurrence of longer function prologues, that limit
must be increased. This commit changes it from 2 to 10.
Orabug:
27410742
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
FBT_ENTRY, *addr, addr, 0,
NULL, arg);
state = 1;
- } else if (insc > 2)
+ } else if (insc > 10)
state = 2;
break;
case 1: /* look for ret */