Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512017

[PATCH -tip v2 0/6] ftrace: selftests: Add full glob matching and update ftracetest

From Masami Hiramatsu <mhiramat@kernel.org>
Newsgroups linux.kernel
Subject [PATCH -tip v2 0/6] ftrace: selftests: Add full glob matching and update ftracetest
Date 2016-10-30 08:00 +0100
Message-ID <sxSg1-1dL-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH -tip v2 0/6] ftrace: selftests: Add full glob matching and update ftracetest Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-30 08:00 +0100
  [PATCH -tip v2 4/6] selftests: ftrace: Introduce TMPDIR for temporary files Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-30 08:00 +0100
  Re: [PATCH -tip v2 0/6] ftrace: selftests: Add full glob matching  and update ftracetest Masami Hiramatsu <mhiramat@kernel.org> - 2016-11-09 00:40 +0100

csiph-web