[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1479241777-75067-1-git-send-email-joelaf@google.com>
Date: Tue, 15 Nov 2016 12:29:35 -0800
From: Joel Fernandes <joelaf@...gle.com>
To: linux-kernel@...r.kernel.org
Cc: Steven Rostedt <rostedt@...dmis.org>,
Joel Fernandes <joelaf@...gle.com>,
Anton Vorontsov <anton@...msg.org>,
Colin Cross <ccross@...roid.com>,
Kees Cook <keescook@...omium.org>,
Tony Luck <tony.luck@...el.com>
Subject: [PATCH v2 0/2] Global filtering for ftrace functions
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@...msg.org>
Cc: Colin Cross <ccross@...roid.com>
Cc: Kees Cook <keescook@...omium.org>
Cc: Tony Luck <tony.luck@...el.com>
--
2.8.0.rc3.226.g39d4020
Powered by blists - more mailing lists