diff options
author | Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com> | 2012-10-02 17:27:10 +0900 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-10-31 16:45:25 -0400 |
commit | f43c738bfa8608424610e4fc1aef4d4644e2ce11 (patch) | |
tree | a27c9971bc2eeeb012dc349762066a4c61cf10c9 /kernel/trace/trace.h | |
parent | 6f4156723c084bfc0c0f72205c541fafb8ad3ded (diff) | |
download | talos-obmc-linux-f43c738bfa8608424610e4fc1aef4d4644e2ce11.tar.gz talos-obmc-linux-f43c738bfa8608424610e4fc1aef4d4644e2ce11.zip |
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>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index c15f528c1af4..c56a233c006e 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -285,8 +285,8 @@ struct tracer { int (*set_flag)(u32 old_flags, u32 bit, int set); struct tracer *next; struct tracer_flags *flags; - int print_max; - int use_max_tr; + bool print_max; + bool use_max_tr; }; |