]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Provide API to use global filtering for ftrace ops
authorJoel Fernandes <joelaf@google.com>
Tue, 15 Nov 2016 20:31:20 +0000 (12:31 -0800)
committerKees Cook <keescook@chromium.org>
Wed, 16 Nov 2016 00:34:30 +0000 (16:34 -0800)
commitcdeb63c9f40d188e1516afceb0c2fa6aa83a138f
tree43e227118b9111e27a0df4f199e6632d552311dc
parent2103a41b094635c4585f47ebaf67af1b2c2d859e
ftrace: Provide API to use global filtering for ftrace ops

Currently the global_ops filtering hash is not available to outside users
registering for function tracing. Provide an API for those users to be
able to choose global filtering.

This is in preparation for pstore's ftrace feature to be able to
use the global filters.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Joel Fernandes <joelaf@google.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/ftrace.h
kernel/trace/ftrace.c