Track pc/fp per kthread for semaphore debugging
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 2 Sep 2016 16:22:04 +0000 (12:22 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 6 Sep 2016 13:26:23 +0000 (09:26 -0400)
commit411b3c477cd08f14d82d5c2abc71d62be07bc2b0
tree6bfee981383b7112f7d87258862c221a2401b1d7
parent58ca0d439a3b0b4c3915f0fc6e811f617d9f2574
Track pc/fp per kthread for semaphore debugging

If you have a bunch of kthreads sleeping on the same semaphore, previously
you could only see the last one to down the sem.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/setjmp.h
kern/arch/x86/setjmp.h
kern/include/kthread.h
kern/src/kthread.c