From: Masami Hiramatsu <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
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 0/5] ftrace: selftests: Add full glob matching and update ftracetest
Date: Wed, 19 Oct 2016 13:53:25 +0900 [thread overview]
Message-ID: <147685280526.8760.8021110184607782896.stgit@devbox> (raw)
Hi,
Here is a series of patches to add full glob matching
support in ftrace and update ftracetest to test the
glob matching and hexadecimal types.
The first patch is same one as I sent before
(https://lkml.org/lkml/2016/10/5/149)
I've added patches for updating ftracetest to test
this feature and previous hexadecimal type feature.
Since I've found an issue (if tracing_on is set to 0,
some test cases fail) on ftracetest, this also
fixes the issue.
[1/5] Add full glob matching support on ftrace's
function filter and event filter expression.
[2/5] Fix some testcases to enable tracing_on before
start tracing.
[3/5] Introduce temporary directory for test cases,
which is used for storing temporary test data.
[4/5] Add a testcase for function-name glob matching
[5/5] Add a testcase for types of event arguments
Thanks,
---
Masami Hiramatsu (5):
ftrace: Support full glob matching
selftests: ftrace: Fix test cases to enable tracing
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/ftracetest | 2 +
.../selftests/ftrace/test.d/event/event-enable.tc | 1
.../selftests/ftrace/test.d/event/event-pid.tc | 1
.../ftrace/test.d/event/subsystem-enable.tc | 1
.../ftrace/test.d/event/toplevel-enable.tc | 1
.../ftrace/test.d/ftrace/func-filter-glob.tc | 49 ++++++++++++++++++++
.../ftrace/test.d/ftrace/func_profiler.tc | 1
.../ftrace/test.d/kprobe/kprobe_args_type.tc | 37 +++++++++++++++
.../ftrace/test.d/kprobe/kprobe_ftrace.tc | 1
16 files changed, 125 insertions(+), 14 deletions(-)
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-10-19 4:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-19 4:53 Masami Hiramatsu [this message]
2016-10-19 4:53 ` [PATCH 1/5] ftrace: Support full glob matching Masami Hiramatsu
2016-10-19 13:20 ` Steven Rostedt
2016-10-20 2:07 ` Masami Hiramatsu
2016-10-20 13:43 ` Steven Rostedt
2016-10-21 16:43 ` Masami Hiramatsu
2016-10-19 4:53 ` [PATCH 2/5] selftests: ftrace: Fix test cases to enable tracing Masami Hiramatsu
2016-10-24 19:50 ` Steven Rostedt
2016-10-25 9:51 ` Masami Hiramatsu
2016-10-19 4:53 ` [PATCH 3/5] selftests: ftrace: Introduce TMPDIR for temporary files Masami Hiramatsu
2016-10-19 4:54 ` [PATCH 4/5] selftests: ftrace: Add a testcase for function filter glob match Masami Hiramatsu
2016-10-19 4:54 ` [PATCH 5/5] 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=147685280526.8760.8021110184607782896.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=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