Messages in this thread |  | | From | Masami Hiramatsu <> | Subject | [PATCH -tip v2 0/6] ftrace: selftests: Add full glob matching and update ftracetest | Date | Sun, 30 Oct 2016 15:53:49 +0900 |
| |
Hi,
Here is the 2nd version of the series of patches to add full glob matching support in ftrace and update ftracetest to test the glob matching and hexadecimal types.
Previous version is here: https://lkml.org/lkml/2016/10/19/7
I've update ftracetest to initialize ftrace before each testcase accordning to Steve's comment. In this series I've added a patch which makes git to ignore the directory for test results.
[1/6] Add full glob matching support on ftrace's function filter and event filter expression. [2/6] Initialize ftrace before running each testcase. [3/6] Hide logs direcotry from git. [4/6] Introduce temporary directory for test cases, which is used for storing temporary test data. [5/6] Add a testcase for function-name glob matching [6/6] Add a testcase for types of event arguments
Thanks, ---
Masami Hiramatsu (6): ftrace: Support full glob matching selftests: ftrace: Initialize ftrace before each test 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 | 4 +- .../ftrace/test.d/ftrace/func-filter-glob.tc | 49 ++++++++++++++++++++ tools/testing/selftests/ftrace/test.d/functions | 25 ++++++++++ .../ftrace/test.d/kprobe/kprobe_args_type.tc | 37 +++++++++++++++ 12 files changed, 146 insertions(+), 15 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>
|  |