summaryrefslogtreecommitdiff
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@linux.alibaba.com>2020-08-31 06:11:01 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-10-08 22:29:06 +0300
commit02dae28f0b542969e44cbc1e14ffc9944cd2975c (patch)
tree77bd99fb25e86fa13eb2e913f6ec75407195963f /kernel/trace/ftrace.c
parentbe49313273211c47d1b317d6b2dbe02637c2794c (diff)
downloadlinux-02dae28f0b542969e44cbc1e14ffc9944cd2975c.tar.xz
ftrace: Simplify the dyn_ftrace->flags macro
All the three macro are defined to be used for ftrace_rec_count(). This can be achieved by (flags & FTRACE_REF_MAX) directly. Since no other places would use those macros, remove them for clarity. Also it fixes a typo in the comment. Link: https://lkml.kernel.org/r/20200831031104.23322-4-richard.weiyang@linux.alibaba.com Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions