tracing: Use enums instead of hard coded bitmasks for TRACE_ITER flags
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 29 Sep 2015 13:22:05 +0000 (09:22 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 29 Sep 2015 17:23:56 +0000 (13:23 -0400)
commitce3fed628ecc86d81fdb2be5a5c336c636960bfe
tree428a16fc3b98bd42fba3c130f3dc25449ad39923
parent938db5f569247d13910d4542666709623c4253b0
tracing: Use enums instead of hard coded bitmasks for TRACE_ITER flags

Using enums with FLAG_BIT and then defining a FLAG = (1 << FLAG_BIT), is a
bit more robust as we require that there are no bits out of order or skipped
to match the file names that represent the bits.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h