Skip to content

ftrace: Add a ftrace test collection

Masami Hiramatsu lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 5 repliesIn review
  2. v44 patches 9 repliesSuperseded
  3. v3 RFC4 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC4 patches6 repliesSuperseded
v1 RFC3 patches5 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ftracetest: Initial commit for ftracetestMAINTAINERS tools/testing/selftests/Makefile tools/testing/selftests/ftrace/Makefile +3 more+217 -02 replies
2/4ftracetest: Add ftrace basic testcasestools/testing/selftests/ftrace/test.d/00basic/basic1.tc tools/testing/selftests/ftrace/test.d/00basic/basic2.tc tools/testing/selftests/ftrace/test.d/00basic/basic3.tc+17 -00 replies
3/4ftracetest: Add kprobe basic testcasestools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc tools/testing/selftests/ftrace/test.d/kprobe/busy_check.tc+25 -00 replies
4/4ftracetest: Add POSIX.3 standard and XFAIL result codestools/testing/selftests/ftrace/README tools/testing/selftests/ftrace/ftracetest tools/testing/selftests/ftrace/samples/fail.tc +10 more+187 -330 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchShuah KhanNamhyung Kim
SeriesA-b
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] ftrace: Add a ftrace test collection

Hi,

Here is the collection of testcases for ftrace version 5. This is just a small update.

- Fix a TODO item, since this already integrated to kselftest.
- Print the test name at the first line.
- Add Shuah's acked-by. (Thanks!)

ftracetest is a shell(dash) script for testing ftrace features. It will be required to add a unit test for each new feature after this is merged, because of preventing regressions.

Thank you,

---

Masami Hiramatsu (4):
ftracetest: Initial commit for ftracetest
ftracetest: Add ftrace basic testcases
ftracetest: Add kprobe basic testcases
ftracetest: Add POSIX.3 standard and XFAIL result codes

 MAINTAINERS                                        |    1 
 tools/testing/selftests/Makefile                   |    1 
 tools/testing/selftests/ftrace/Makefile            |    7 +
 tools/testing/selftests/ftrace/README              |   82 +++++++
 tools/testing/selftests/ftrace/ftracetest          |  251 ++++++++++++++++++++
 tools/testing/selftests/ftrace/samples/fail.tc     |    4 
 tools/testing/selftests/ftrace/samples/pass.tc     |    3 
 .../testing/selftests/ftrace/samples/unresolved.tc |    4 
 .../selftests/ftrace/samples/unsupported.tc        |    3 
 tools/testing/selftests/ftrace/samples/untested.tc |    3 
 tools/testing/selftests/ftrace/samples/xfail.tc    |    3 
 .../selftests/ftrace/test.d/00basic/basic1.tc      |    3 
 .../selftests/ftrace/test.d/00basic/basic2.tc      |    7 +
 .../selftests/ftrace/test.d/00basic/basic3.tc      |    8 +
 .../ftrace/test.d/kprobe/add_and_remove.tc         |   11 +
 .../selftests/ftrace/test.d/kprobe/busy_check.tc   |   13 +
 tools/testing/selftests/ftrace/test.d/template     |    9 +
 17 files changed, 413 insertions(+)
 create mode 100644 tools/testing/selftests/ftrace/Makefile
 create mode 100644 tools/testing/selftests/ftrace/README
 create mode 100755 tools/testing/selftests/ftrace/ftracetest
 create mode 100644 tools/testing/selftests/ftrace/samples/fail.tc
 create mode 100644 tools/testing/selftests/ftrace/samples/pass.tc
 create mode 100644 tools/testing/selftests/ftrace/samples/unresolved.tc
 create mode 100644 tools/testing/selftests/ftrace/samples/unsupported.tc
 create mode 100644 tools/testing/selftests/ftrace/samples/untested.tc
 create mode 100644 tools/testing/selftests/ftrace/samples/xfail.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic1.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic2.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/busy_check.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/template

--