]> git.baikalelectronics.ru Git - kernel.git/commit
fgraph: Remove redundant ftrace_graph_notrace_addr() test
authorChangbin Du <changbin.du@gmail.com>
Tue, 30 Jul 2019 14:08:50 +0000 (22:08 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 31 Jul 2019 01:50:03 +0000 (21:50 -0400)
commitcb850d685defab6c3a1d83a3dd7ea800a26110a4
tree83b8c7dae9de0b0e41ee5472b9d0e2a7c646a79d
parentb58b7b74030686988984cfc283c4cb73c0e22a4a
fgraph: Remove redundant ftrace_graph_notrace_addr() test

We already have tested it before. The second one should be removed.
With this change, the performance should have little improvement.

Link: http://lkml.kernel.org/r/20190730140850.7927-1-changbin.du@gmail.com
Cc: stable@vger.kernel.org
Fixes: ecc8aeef9acc ("fgraph: Have set_graph_notrace only affect function_graph tracer")
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_functions_graph.c