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.) <mhira...@kernel.org>