diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-09-30 00:13:33 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-09-30 10:35:18 +0200 |
commit | b5e87c0581319481399b6d8e8d6972b5523c18e6 (patch) | |
tree | 4439fbdae48bb3dbd6b8023c25be9c618da1c11e /kernel/trace/trace_printk.c | |
parent | tracing: Always show all tracer options in the options directory (diff) | |
download | linux-b5e87c0581319481399b6d8e8d6972b5523c18e6.tar.xz linux-b5e87c0581319481399b6d8e8d6972b5523c18e6.zip |
tracing: Add build bug if we have more trace_flags than bits
Add a enum that denotes the last bit of the trace_flags and have a
BUILD_BUG_ON(last_bit > 32).
If we add more bits than we have in trace_flags, the kernel wont build.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_printk.c')
0 files changed, 0 insertions, 0 deletions