]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/ftrace.h
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)
commitd032ae8921ea792c1e6b2abb44022b2403f651f6
tree43e227118b9111e27a0df4f199e6632d552311dc
parenta5d23b956cabd5931d4aff07573cd9d053bacd74
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