tracing: Add an option for disabling markers
authorMandeep Singh Baines <mandeep.baines@gmail.com>
Sat, 8 Sep 2012 01:12:19 +0000 (18:12 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 24 Sep 2012 18:10:44 +0000 (14:10 -0400)
commit5224c3a31549f1c056039545b289e1b01ed02f12
tree30750af387cad904c3935418b0c17384abce1de8
parent50a011f6409e888d5f41343024d24885281f048c
tracing: Add an option for disabling markers

In our application, we have trace markers spread through user-space.
We have markers in GL, X, etc. These are super handy for Chrome's
about:tracing feature (Chrome + system + kernel trace view), but
can be very distracting when you're trying to debug a kernel issue.

I normally, use "grep -v tracing_mark_write" but it would be nice
if I could just temporarily disable markers all together.

Link: http://lkml.kernel.org/r/1347066739-26285-1-git-send-email-msb@chromium.org
CC: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h