Enable kernel profiling on arm64
authordrahn <drahn@openbsd.org>
Thu, 19 Jul 2018 17:38:12 +0000 (17:38 +0000)
committerdrahn <drahn@openbsd.org>
Thu, 19 Jul 2018 17:38:12 +0000 (17:38 +0000)
commit3f55d2414b2ca7b0ddbd01e7323627228645b049
tree447d814c183d999a66259cec91d3056f81b7a61b
parentccaa33a796f42d15c0934bb150b64659790b55a0
Enable kernel profiling on arm64
sigcode() runs in user land context, so should not call mcount.
Without the symbol type on the exception entry functions, gprof
doesn't correctly identify the caller for exception entry symbols.
ok kettenis@
sys/arch/arm64/arm64/exception.S
sys/arch/arm64/arm64/locore.S