diff options
author | yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn> | 2018-04-08 19:36:31 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-07-03 18:23:33 -0400 |
commit | f26808ba7227a921e0e8549c7d3c52332b920085 (patch) | |
tree | 699f09c2967d89edbcdc522102019240a90c3c0d /mm/debug_page_ref.c | |
parent | f90658725ba7ebb031054866aff4cda0d099a3b1 (diff) |
tracing: Optimize trace_buffer_iter() logic
Simplify and optimize the logic in trace_buffer_iter() to use a conditional
operation instead of an if conditional.
Link: http://lkml.kernel.org/r/20180408113631.3947-1-cugyly@163.com
Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'mm/debug_page_ref.c')
0 files changed, 0 insertions, 0 deletions