From: Joel Fernandes <joelaf@google.com>
To: linux-kernel@vger.kernel.org
Cc: Steven Rostedt <rostedt@goodmis.org>,
Joel Fernandes <joelaf@google.com>,
Anton Vorontsov <anton@enomsg.org>,
Colin Cross <ccross@android.com>,
Kees Cook <keescook@chromium.org>,
Tony Luck <tony.luck@intel.com>
Subject: [PATCH v2 0/2] Global filtering for ftrace functions
Date: Tue, 15 Nov 2016 12:29:35 -0800 [thread overview]
Message-ID: <1479241777-75067-1-git-send-email-joelaf@google.com> (raw)
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
reply other threads:[~2016-11-15 20:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479241777-75067-1-git-send-email-joelaf@google.com \
--to=joelaf@google.com \
--cc=anton@enomsg.org \
--cc=ccross@android.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®