Removes debugging code
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 27 Jan 2015 16:27:22 +0000 (11:27 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 27 Jan 2015 16:27:22 +0000 (11:27 -0500)
Accidentally added in aaa7e62.

kern/drivers/dev/mnt.c
kern/kfs/ifconfig
kern/src/kmalloc.c
kern/src/monitor.c
kern/src/ns/chan.c

index c661b95..4a92f03 100644 (file)
@@ -834,7 +834,6 @@ void mountio(struct mnt *m, struct mntrpc *r)
                        nexterror();
                }
                r = mntflushalloc(r, m->msize);
-               printk("FL\n");
                /* need one for every waserror call (so this plus one outside) */
                poperror();
        }
index 32c05af..4097b78 100755 (executable)
@@ -169,7 +169,7 @@ then
                usleep 1000
        done
 fi
-#mount -a \#s/cs /net
+mount -a \#s/cs /net
 
 # this is noisy, so it is off by default.
 #echo debug > /net/cs
index 1a94109..872a25f 100644 (file)
@@ -56,14 +56,6 @@ void *kmalloc(size_t size, int flags)
        void *buf;
        int cache_id;
        // determine cache to pull from
-       if (0)
-       if ((size < 9 ) && (!printx_on)) {
-               extern bool printx_on;
-               printx_on = 1;
-               printk("alloc one lousy 64-bit int? \n");
-               monitor(NULL);
-               printx_on = 0;
-       }
        if (ksize <= KMALLOC_SMALLEST)
                cache_id = 0;
        else
index ccada47..14af76b 100644 (file)
@@ -286,10 +286,6 @@ static void print_info_handler(struct hw_trapframe *hw_tf, void *data)
        cprintf("MTRR Phys7 Base = 0x%016llx, Mask = 0x%016llx\n",
                read_msr(0x20e), read_msr(0x20f));
 #endif // CONFIG_X86
-#ifdef CONFIG_SYSCALL_STRING_SAVING
-       cprintf("syscall string: %s\n",
-               per_cpu_info[core_id()].cur_kthread->name);
-#endif
        cprintf("----------------------------\n");
        spin_unlock_irqsave(&print_info_lock);
 }
index b9b7864..4891f95 100644 (file)
@@ -1382,8 +1382,6 @@ void validname(char *aname, int slashok)
                        name += chartorune(&r, name);
 #endif
                if (c >= 0x7f) {
-                       printk("Akaros doesn't do UTF-8");
-                       monitor(NULL);
                        error("Akaros doesn't do UTF-8");
                } else {
                        if (isfrog[c])