STFU useless printk messages
authorDavide Libenzi <dlibenzi@google.com>
Tue, 1 Dec 2015 02:15:28 +0000 (18:15 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 16 Dec 2015 21:27:06 +0000 (16:27 -0500)
STFU useless printk messages.

Signed-off-by: Davide Libenzi <dlibenzi@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/profiler.c

index e09b311..a6b9a99 100644 (file)
@@ -416,10 +416,6 @@ void profiler_control_trace(int onoff)
                 * we let profiler_is_tracing() to perform it at the next timer tick.
                 */
                cpu_buf->tracing = onoff ? 1 : -1;
-               if (onoff)
-                       printk("Enable tracing on %d\n", core);
-               else
-                       printk("Disable tracing on %d\n", core);
        }
 }