Kprof samples during the timer IRQ
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 22 May 2014 21:54:37 +0000 (14:54 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 22 May 2014 21:54:37 +0000 (14:54 -0700)
commit5d5c83bfe4e9d9a0edd38b6f30e70e64d9a5c675
treeaf147a5d73b45f9ec38189b79e17537aaaf8e924
parent6e2de20ac249dd94fc2cf9ee7d2646cff840c587
Kprof samples during the timer IRQ

It's a bit cheap, since the timer won't rearm til we handle RKMs.  This means
that during heavy activity, we might not take the samples as frequently.  I've
got some ideas to fix this.  For now, we can at least get a sample from IRQ
context.
kern/drivers/dev/kprof.c
kern/include/smp.h
kern/src/time.c