From: Masami Hiramatsu <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>, Shuah Khan <shuahkhan@gmail.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
Shuah Khan <shuah@kernel.org>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
Namhyung Kim <namhyung@kernel.org>,
Tom Zanussi <tom.zanussi@linux.intel.com>,
linux-kselftest@vger.kernel.org
Subject: [PATCH -tip v3 0/9] ftrace: selftests: Add full glob matching and update ftracetest
Date: Wed, 16 Nov 2016 17:12:20 +0900 [thread overview]
Message-ID: <147928393441.22982.15432364313721641355.stgit@devbox> (raw)
Hi,
Here is the 3rd version of the series of patches to
add full glob matching support in ftrace, and update
ftracetest to fix bugs and add test for the glob
matching and hexadecimal types.
Previous version is here:
https://lkml.org/lkml/2016/10/30/16
I've fix some bugs related to ftrace kconfig
selection on ftracetest, and add --quiet option
in this version.
Here is the short description, 3/9 - 5/9 are
newly added.
[1/9] Add full glob matching support on ftrace's
function filter and event filter expression.
[2/9] Initialize ftrace before running each testcase.
(updated in v2 for checking supported features)
[3/9] Add --quiet option to suppress error logs
[4/9] Fix snapshot trigger test to be unsupported
if the kernel has no snapshot feature.
[5/9] Fix hist trigger-mod test to run correctly
without syscall trace.
[6/9] Hide logs direcotry from git.
[7/9] Introduce temporary directory for test cases,
which is used for storing temporary test data.
[8/9] Add a testcase for function-name glob matching
[9/9] Add a testcase for types of event arguments
Thanks,
---
Masami Hiramatsu (9):
ftrace: Support full glob matching
selftests: ftrace: Initialize ftrace before each test
selftests: ftrace: Add --quiet option not to show error logs on screen
selftests: ftrace: Check whether snapshot trigger is supported correctly
selftests: ftrace: Fix trigger-mod to run without syscall trace
selftests: ftrace: Hide ftracetest logs from git
selftests: ftrace: Introduce TMPDIR for temporary files
selftests: ftrace: Add a testcase for function filter glob match
selftests: ftrace: Add a testcase for types of kprobe event
Documentation/trace/events.txt | 9 +---
Documentation/trace/ftrace.txt | 9 +---
kernel/trace/Kconfig | 2 +
kernel/trace/ftrace.c | 4 ++
kernel/trace/trace.c | 2 -
kernel/trace/trace.h | 2 +
kernel/trace/trace_events_filter.c | 17 +++++++
tools/testing/selftests/ftrace/.gitignore | 1
tools/testing/selftests/ftrace/ftracetest | 12 ++++-
.../ftrace/test.d/ftrace/func-filter-glob.tc | 49 ++++++++++++++++++++
tools/testing/selftests/ftrace/test.d/functions | 28 +++++++++++
.../ftrace/test.d/kprobe/kprobe_args_type.tc | 37 +++++++++++++++
.../ftrace/test.d/trigger/trigger-hist-mod.tc | 2 -
.../ftrace/test.d/trigger/trigger-snapshot.tc | 5 ++
14 files changed, 162 insertions(+), 17 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/.gitignore
create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_type.tc
--
Masami Hiramatsu (Linaro Ltd.) <mhiramat@kernel.org>
next reply other threads:[~2016-11-16 8:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 8:12 Masami Hiramatsu [this message]
2016-11-16 8:12 ` [PATCH -tip v3 1/9] ftrace: Support full glob matching Masami Hiramatsu
2016-11-16 11:17 ` Masami Hiramatsu
2016-11-16 8:13 ` [PATCH -tip v3 2/9] selftests: ftrace: Initialize ftrace before each test Masami Hiramatsu
2016-11-16 8:13 ` [PATCH -tip v3 3/9] selftests: ftrace: Add --quiet option not to show error logs on screen Masami Hiramatsu
2016-11-22 19:44 ` Steven Rostedt
2016-11-25 0:04 ` Masami Hiramatsu
2016-11-16 8:13 ` [PATCH -tip v3 4/9] selftests: ftrace: Check whether snapshot trigger is supported correctly Masami Hiramatsu
2016-11-16 8:13 ` [PATCH -tip v3 5/9] selftests: ftrace: Fix trigger-mod to run without syscall trace Masami Hiramatsu
2016-11-16 8:14 ` [PATCH -tip v3 6/9] selftests: ftrace: Hide ftracetest logs from git Masami Hiramatsu
2016-11-16 8:14 ` [PATCH -tip v3 7/9] selftests: ftrace: Introduce TMPDIR for temporary files Masami Hiramatsu
2016-11-16 8:14 ` [PATCH -tip v3 8/9] selftests: ftrace: Add a testcase for function filter glob match Masami Hiramatsu
2016-11-16 8:14 ` [PATCH -tip v3 9/9] selftests: ftrace: Add a testcase for types of kprobe event Masami Hiramatsu
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=147928393441.22982.15432364313721641355.stgit@devbox \
--to=mhiramat@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=rostedt@goodmis.org \
--cc=shuah@kernel.org \
--cc=shuahkhan@gmail.com \
--cc=tom.zanussi@linux.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