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


Groups > linux.kernel > #1503560

[PATCH 0/5] ftrace: selftests: Add full glob matching and update ftracetest

From Masami Hiramatsu <mhiramat@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 0/5] ftrace: selftests: Add full glob matching and update ftracetest
Date 2016-10-19 07:00 +0200
Message-ID <stR8R-4sP-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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>

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


Thread

[PATCH 0/5] ftrace: selftests: Add full glob matching and update ftracetest Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-19 07:00 +0200
  [PATCH 4/5] selftests: ftrace: Add a testcase for function filter glob match Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-19 07:00 +0200
  [PATCH 1/5] ftrace: Support full glob matching Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-19 07:00 +0200
    Re: [PATCH 1/5] ftrace: Support full glob matching Steven Rostedt <rostedt@goodmis.org> - 2016-10-19 16:40 +0200
      Re: [PATCH 1/5] ftrace: Support full glob matching Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-20 04:10 +0200
        Re: [PATCH 1/5] ftrace: Support full glob matching Steven Rostedt <rostedt@goodmis.org> - 2016-10-20 15:50 +0200
          Re: [PATCH 1/5] ftrace: Support full glob matching Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-21 18:50 +0200
  [PATCH 5/5] selftests: ftrace: Add a testcase for types of kprobe event Masami Hiramatsu <mhiramat@kernel.org> - 2016-10-19 07:00 +0200

csiph-web