* [PATCH v2 0/2] Global filtering for ftrace functions
@ 2016-11-15 20:29 Joel Fernandes
0 siblings, 0 replies; only message in thread
From: Joel Fernandes @ 2016-11-15 20:29 UTC (permalink / raw)
To: linux-kernel
Cc: Steven Rostedt, Joel Fernandes, Anton Vorontsov, Colin Cross,
Kees Cook, Tony Luck
Currently enabling /sys/kernel/debug/pstore/record_ftrace traces all functions
and setting set_ftrace_filter doesn't apply. These patches allow one to
set_ftrace_filter and have pstore make use of the filtering feature resulting in
lower overhead and performance improvement.
Changes in v2 are only to check if ftrace ops were already initialized and not
set the global filter if it was.
Joel Fernandes (2):
ftrace: Provide API to use global filtering for ftrace ops
pstore: Use global ftrace filters for function trace filtering
fs/pstore/ftrace.c | 7 +++++--
include/linux/ftrace.h | 2 ++
kernel/trace/ftrace.c | 17 +++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
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>
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-15 20:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15 20:29 [PATCH v2 0/2] Global filtering for ftrace functions Joel Fernandes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®