Re: Re: [RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
(2014/09/04 11:42), Namhyung Kim wrote: > On Tue, 02 Sep 2014 11:06:32 +, Masami Hiramatsu wrote: >> Hi, >> >> Here is the collection of testcases for ftrace version 3. >> This is just some updates and fixes according to the >> discussion at previous version. >> https://lkml.org/lkml/2014/8/26/304 >> >> The major updates are: >> - Fix some expressions to work on dash (Thanks Luis!) >> - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. >>Those are POSIX 1003.3 standard. >>(see http://www.gnu.org/software/dejagnu/manual/x47.html for >> more details) >> - Fix to show error logs. >> >> ftracetest is a small 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 feature regressions. >> >> This version still be out of the selftest. However, at the kernel >> summit, I talked with Shuah about that. And since the kselftest >> will be the standard kernel unit test framework, I agreed to >> move this under the selftest. But I also would like to ask Steven >> and Namhyung to agree with it before moving. >> >> Actually, since we've already has similar shell-script base >> testcase under kselftest, we can easily move this under >> selftests. > > By [k]selftest, did you mean tools/testing/selftests/ ? Yes, and I will just move tools/testing/ftrace to tools/testing/selftests/ftrace and add a Makefile. > Anyway I have no objection to the move. Thank you! > > Thanks for your work! > Namhyung > -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu...@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
On Tue, 02 Sep 2014 11:06:32 +, Masami Hiramatsu wrote: > Hi, > > Here is the collection of testcases for ftrace version 3. > This is just some updates and fixes according to the > discussion at previous version. > https://lkml.org/lkml/2014/8/26/304 > > The major updates are: > - Fix some expressions to work on dash (Thanks Luis!) > - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. >Those are POSIX 1003.3 standard. >(see http://www.gnu.org/software/dejagnu/manual/x47.html for > more details) > - Fix to show error logs. > > ftracetest is a small 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 feature regressions. > > This version still be out of the selftest. However, at the kernel > summit, I talked with Shuah about that. And since the kselftest > will be the standard kernel unit test framework, I agreed to > move this under the selftest. But I also would like to ask Steven > and Namhyung to agree with it before moving. > > Actually, since we've already has similar shell-script base > testcase under kselftest, we can easily move this under > selftests. By [k]selftest, did you mean tools/testing/selftests/ ? Anyway I have no objection to the move. Thanks for your work! Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
On Tue, 02 Sep 2014 11:06:32 +, Masami Hiramatsu wrote: Hi, Here is the collection of testcases for ftrace version 3. This is just some updates and fixes according to the discussion at previous version. https://lkml.org/lkml/2014/8/26/304 The major updates are: - Fix some expressions to work on dash (Thanks Luis!) - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. Those are POSIX 1003.3 standard. (see http://www.gnu.org/software/dejagnu/manual/x47.html for more details) - Fix to show error logs. ftracetest is a small 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 feature regressions. This version still be out of the selftest. However, at the kernel summit, I talked with Shuah about that. And since the kselftest will be the standard kernel unit test framework, I agreed to move this under the selftest. But I also would like to ask Steven and Namhyung to agree with it before moving. Actually, since we've already has similar shell-script base testcase under kselftest, we can easily move this under selftests. By [k]selftest, did you mean tools/testing/selftests/ ? Anyway I have no objection to the move. Thanks for your work! Namhyung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Re: [RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
(2014/09/04 11:42), Namhyung Kim wrote: On Tue, 02 Sep 2014 11:06:32 +, Masami Hiramatsu wrote: Hi, Here is the collection of testcases for ftrace version 3. This is just some updates and fixes according to the discussion at previous version. https://lkml.org/lkml/2014/8/26/304 The major updates are: - Fix some expressions to work on dash (Thanks Luis!) - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. Those are POSIX 1003.3 standard. (see http://www.gnu.org/software/dejagnu/manual/x47.html for more details) - Fix to show error logs. ftracetest is a small 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 feature regressions. This version still be out of the selftest. However, at the kernel summit, I talked with Shuah about that. And since the kselftest will be the standard kernel unit test framework, I agreed to move this under the selftest. But I also would like to ask Steven and Namhyung to agree with it before moving. Actually, since we've already has similar shell-script base testcase under kselftest, we can easily move this under selftests. By [k]selftest, did you mean tools/testing/selftests/ ? Yes, and I will just move tools/testing/ftrace to tools/testing/selftests/ftrace and add a Makefile. Anyway I have no objection to the move. Thank you! Thanks for your work! Namhyung -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu...@hitachi.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
Hi, Here is the collection of testcases for ftrace version 3. This is just some updates and fixes according to the discussion at previous version. https://lkml.org/lkml/2014/8/26/304 The major updates are: - Fix some expressions to work on dash (Thanks Luis!) - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. Those are POSIX 1003.3 standard. (see http://www.gnu.org/software/dejagnu/manual/x47.html for more details) - Fix to show error logs. ftracetest is a small 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 feature regressions. This version still be out of the selftest. However, at the kernel summit, I talked with Shuah about that. And since the kselftest will be the standard kernel unit test framework, I agreed to move this under the selftest. But I also would like to ask Steven and Namhyung to agree with it before moving. Actually, since we've already has similar shell-script base testcase under kselftest, we can easily move this under selftests. Thank you, --- Masami Hiramatsu (4): ftracetest: Initial commit for ftracetest ftracetest: Add ftrace basic testcases ftracetest: Add kprobe basic testcases ftracetest: Add XFAIL/XPASS and POSIX.3 std. result codes tools/testing/ftrace/README| 78 +++ tools/testing/ftrace/ftracetest| 217 tools/testing/ftrace/test.d/basic1.tc |7 + tools/testing/ftrace/test.d/basic2.tc |8 + tools/testing/ftrace/test.d/basic3.tc |9 + .../testing/ftrace/test.d/kprobe/add_and_remove.tc | 12 + tools/testing/ftrace/test.d/kprobe/busy_check.tc | 14 + tools/testing/ftrace/test.d/template | 10 + 8 files changed, 355 insertions(+) create mode 100644 tools/testing/ftrace/README create mode 100755 tools/testing/ftrace/ftracetest create mode 100644 tools/testing/ftrace/test.d/basic1.tc create mode 100644 tools/testing/ftrace/test.d/basic2.tc create mode 100644 tools/testing/ftrace/test.d/basic3.tc create mode 100644 tools/testing/ftrace/test.d/kprobe/add_and_remove.tc create mode 100644 tools/testing/ftrace/test.d/kprobe/busy_check.tc create mode 100644 tools/testing/ftrace/test.d/template -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[RFC PATCH v3 0/4] ftrace: Add a ftrace test collection
Hi, Here is the collection of testcases for ftrace version 3. This is just some updates and fixes according to the discussion at previous version. https://lkml.org/lkml/2014/8/26/304 The major updates are: - Fix some expressions to work on dash (Thanks Luis!) - Support UNRESOLVED/UNTESTED/UNSUPPORTED results for testcase. Those are POSIX 1003.3 standard. (see http://www.gnu.org/software/dejagnu/manual/x47.html for more details) - Fix to show error logs. ftracetest is a small 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 feature regressions. This version still be out of the selftest. However, at the kernel summit, I talked with Shuah about that. And since the kselftest will be the standard kernel unit test framework, I agreed to move this under the selftest. But I also would like to ask Steven and Namhyung to agree with it before moving. Actually, since we've already has similar shell-script base testcase under kselftest, we can easily move this under selftests. Thank you, --- Masami Hiramatsu (4): ftracetest: Initial commit for ftracetest ftracetest: Add ftrace basic testcases ftracetest: Add kprobe basic testcases ftracetest: Add XFAIL/XPASS and POSIX.3 std. result codes tools/testing/ftrace/README| 78 +++ tools/testing/ftrace/ftracetest| 217 tools/testing/ftrace/test.d/basic1.tc |7 + tools/testing/ftrace/test.d/basic2.tc |8 + tools/testing/ftrace/test.d/basic3.tc |9 + .../testing/ftrace/test.d/kprobe/add_and_remove.tc | 12 + tools/testing/ftrace/test.d/kprobe/busy_check.tc | 14 + tools/testing/ftrace/test.d/template | 10 + 8 files changed, 355 insertions(+) create mode 100644 tools/testing/ftrace/README create mode 100755 tools/testing/ftrace/ftracetest create mode 100644 tools/testing/ftrace/test.d/basic1.tc create mode 100644 tools/testing/ftrace/test.d/basic2.tc create mode 100644 tools/testing/ftrace/test.d/basic3.tc create mode 100644 tools/testing/ftrace/test.d/kprobe/add_and_remove.tc create mode 100644 tools/testing/ftrace/test.d/kprobe/busy_check.tc create mode 100644 tools/testing/ftrace/test.d/template -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/