kprof: Allow clearing the kptrace buffer
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 11 Jul 2017 15:10:26 +0000 (11:10 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 20 Jul 2017 12:19:46 +0000 (08:19 -0400)
commit46a3fed4c3a8232f74e743a2d49324c418ab54a2
treed2742cd307539960c62eb1f8f25b4f4c18bbd15e
parent2ed8180f504d797a8e7d314c62dd4e7cadda4d85
kprof: Allow clearing the kptrace buffer

This also adds a slimmed down version of dmesg, which also supports -c.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/kprof.c
kern/kfs/bin/dmesg [new file with mode: 0755]