Enabled /prof/kptrace collection of anything which goes into cprintf
authorDavide Libenzi <dlibenzi@google.com>
Sun, 8 Nov 2015 02:47:16 +0000 (18:47 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 18 Nov 2015 17:56:34 +0000 (09:56 -0800)
commit7da0a57461c75eba709dd222a3d713ec42faa3fa
tree3efacf85d7e1700d74e84a002515f64ea6e2bfd4
parentfc564639d80696d6d90a937792ea5fd365b9ed58
Enabled /prof/kptrace collection of anything which goes into cprintf

Enabled /prof/kptrace collection of anything which goes into cprintf,
printk, and its associates.
The kptrace collector is a circular buffer whose default size is 128KB.

Signed-off-by: Davide Libenzi <dlibenzi@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/kprof.c
kern/include/stdarg.h
kern/src/printf.c