tracing: Simplify code for showing of soft disabled flag
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sat, 29 Jun 2013 05:08:04 +0000 (00:08 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 2 Jul 2013 00:34:25 +0000 (20:34 -0400)
commita439059610ecd257dba29a612729132e470d118f
tree514d63a781142a1422c656b703fee01c51ec564e
parent3fe3d6193e7cd7b4dd2bde10772f048bdefea4ee
tracing: Simplify code for showing of soft disabled flag

Rather than enumerating each permutation, build the enable state
string up from the combination of states.  This also allows for the
simpler addition of more states.

Link: http://lkml.kernel.org/r/9aff5af6dee2f5a40ca30df41c39d5f33e998d7a.1372479499.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c