ktest: Add minor fixes for kernel tests
[akaros.git] / kern / kfs / bin / dmesg
1 #!/bin/sh
2
3 if [[ x$1 == x"-C" ]]
4 then
5         echo "clear" > "#kprof/kptrace_ctl"
6         exit
7 fi
8
9 cat "#kprof/kptrace"
10
11 if [[ x$1 == x"-c" ]]
12 then
13         echo "clear" > "#kprof/kptrace_ctl"
14 fi