summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorMandeep Singh Baines <mandeep.baines@gmail.com>2012-09-07 18:12:19 -0700
committerSteven Rostedt <rostedt@goodmis.org>2012-09-24 14:10:44 -0400
commit5224c3a31549f1c056039545b289e1b01ed02f12 (patch)
tree30750af387cad904c3935418b0c17384abce1de8 /kernel/trace/trace.h
parent50a011f6409e888d5f41343024d24885281f048c (diff)
downloadblackbird-op-linux-5224c3a31549f1c056039545b289e1b01ed02f12.tar.gz
blackbird-op-linux-5224c3a31549f1c056039545b289e1b01ed02f12.zip
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>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 593debefc4e9..63a2da0b9a6e 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -680,6 +680,7 @@ enum trace_iterator_flags {
TRACE_ITER_OVERWRITE = 0x200000,
TRACE_ITER_STOP_ON_FREE = 0x400000,
TRACE_ITER_IRQ_INFO = 0x800000,
+ TRACE_ITER_MARKERS = 0x1000000,
};
/*
OpenPOWER on IntegriCloud