]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Change tracer's integer flags to bool
authorHiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Tue, 2 Oct 2012 08:27:10 +0000 (17:27 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 31 Oct 2012 20:45:25 +0000 (16:45 -0400)
commita3f06a5228e2da99fead4dd236b3df113000b97b
treea27c9971bc2eeeb012dc349762066a4c61cf10c9
parent02ef2998d25b8e0d4d47b11f761ae22ca2651e11
tracing: Change tracer's integer flags to bool

print_max and use_max_tr in struct tracer are "int" variables and
used like flags. This is wasteful, so change the type to "bool".

Link: http://lkml.kernel.org/r/20121002082710.9807.86393.stgit@falsita
Signed-off-by: Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_wakeup.c