Move to a queue-based system call tracing
authorRonald G. Minnich <rminnich@gmail.com>
Tue, 2 Sep 2014 18:09:29 +0000 (18:09 +0000)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 Sep 2014 00:07:09 +0000 (17:07 -0700)
commita9bc492420ca0f200a3ac73f23b4751338938a5d
tree33a83dbb64a49cf4409825c3285717ddcd526aba
parent38b76c59c223c390c9b30a479429fffe5c7e478b
Move to a queue-based system call tracing

Now, we allocate a trace record in the system call and, when we exit, write it
to a queue for the kptrace qid.

Read reads from the queue.

Records are text, delimited by a newline.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Git-fu'd by brho
kern/drivers/dev/kprof.c
kern/include/kthread.h
kern/include/syscall.h
kern/src/monitor.c
kern/src/syscall.c