]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/dtrace: Actually fix stack traces
authorjhibbits <jhibbits@FreeBSD.org>
Fri, 17 May 2019 19:57:08 +0000 (19:57 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Fri, 17 May 2019 19:57:08 +0000 (19:57 +0000)
commit2635d6002e4d4807455d370a6609f8c7d08fa0a8
treea22507d97bc9698f5d6f67ff2a96380ef2061b95
parent8a5976b33f5bfb644fb7fa00f24806c85678aca4
powerpc/dtrace: Actually fix stack traces

Fix stack unwinding such that requesting N stack frames in lockstat will
actually give you N frames, not anywhere from 0-3 as had been before.

lockstat prints the mutex function instead of the caller as the reported
locker, but the stack frame is detailed enough to find the real caller.

MFC after: 2 weeks
sys/cddl/dev/dtrace/powerpc/dtrace_asm.S
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c