perf test: Improve perf record tests (v1)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | perf test: Do not use instructions:u explicitlytools/ | +5 | 1 reply | |
| 2/6 | perf test: Use a test program in perf record teststools/ | +54 | 5 replies | |
| 3/6 | perf test: Test record with --threads optiontools/ | +15 | 2 replies | |
| 4/6 | perf test: Add system-wide mode in perf record teststools/ | +34 | 1 reply | |
| 5/6 | perf test: Add target workload test in perf record teststools/ | +31 | 2 replies | |
| 6/6 | perf test: Do not set TEST_SKIP for record subteststools/ | +0 | 1 reply |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Adrian Hunter |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | |
| 4/6 | R-b |
| 5/6 | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET 0/6] perf test: Improve perf record tests (v1)
Hello,
This patchset improves the perf record tests to check more cases so that it can find problems early. The motivation is a failure in per-thread mmap with multi-threaded targets which Adrian is working on the fix.
I added a custom test program and more combinations like system-wide and command line workload (in per-process mode) testing with multi-threaded recording mode.
Currently it fails on per-thread and register capture tests. The system-wide test was skipped since I ran it as a normal user. We can use this to verify Adirian's fix and future works.
$ ./perf test -v 86 86: perf record tests : --- start --- test child forked, pid 1190747 Build a test program Basic --per-thread mode test Per-thread record [Failed record] Register capture test Register capture test [Failed missing output] Basic --system-wide mode test System-wide record [Skipped not supported] Basic target workload test Basic target workload test [Success] test child finished with -1 ---- end ---- perf record tests: FAILED!
You can find it in 'perf/record-test-v1' branch in
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Thanks,
Namhyung
Namhyung Kim (6):
perf test: Do not use instructions:u explicitly perf test: Use a test program in perf record tests perf test: Test record with --threads option perf test: Add system-wide mode in perf record tests perf test: Add target workload test in perf record tests perf test: Do not set TEST_SKIP for record subtests
tools/perf/tests/shell/record.sh | 150 +++++++++++++++++++++++++++---- 1 file changed, 133 insertions(+), 17 deletions(-)
base-commit: 6c3bd8d3e01d9014312caa52e4ef1c29d5249648
Signature · 1 line
2.37.2.789.g6183377224-goog