RFC Test annotate with data type profiling
Status from this message: Thanks, applied to perf-tools-next,
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest4 patches 11 repliesApplied
- v1 RFC1 patch 7 repliesSuperseded
Changes in v2 from the cover letter
- Switched to use mem record.
- Fixed the build issue with a custom output.
- Separated patches for the workload and tests.
- Added new test for C code.
- Added a feature test for rust compiler.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools/build: Add a feature test for rust compilertools/ tools/ tools/ +2 more | +27 | 0 replies | |
| 2/4 | perf test workload: Add code_with_type test workloadtools/ tools/ tools/ +5 more | +99 | 4 replies | |
| 3/4 | perf tests: Test annotate with data type profiling and rusttools/ | +69 | 0 replies | |
| 4/4 | perf tests: Test annotate with data type profiling and Ctools/ | +23 | 13 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Dmitrii Dolgov |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH v2 0/4] Test annotate with data type profiling
Add shell tests for data type profiling, including C and rust.
To support the rust test, a new workload with rust code was introduced. To build it only when rust is actually available, also add a feature test for rust compiler and guard everything behind it.
Changes in v2:
- Switched to use mem record.
- Fixed the build issue with a custom output.
- Separated patches for the workload and tests.
- Added new test for C code.
- Added a feature test for rust compiler.
Dmitrii Dolgov (4):
tools/build: Add a feature test for rust compiler perf test workload: Add code_with_type test workload perf tests: Test annotate with data type profiling and rust perf tests: Test annotate with data type profiling and C
tools/build/Makefile.build | 14 ++++ tools/build/Makefile.feature | 6 +- tools/build/feature/Makefile | 7 ++ tools/build/feature/test-rust.rs | 4 + tools/perf/Makefile.config | 11 +++ tools/perf/Makefile.perf | 2 +- tools/perf/builtin-check.c | 1 + tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/shell/data_type_profiling.sh | 84 +++++++++++++++++++ tools/perf/tests/tests.h | 4 + tools/perf/tests/workloads/Build | 5 ++ tools/perf/tests/workloads/code_with_type.c | 46 ++++++++++ tools/perf/tests/workloads/code_with_type.rs | 23 +++++ tools/scripts/Makefile.include | 2 + 14 files changed, 210 insertions(+), 3 deletions(-) create mode 100644 tools/build/feature/test-rust.rs create mode 100755 tools/perf/tests/shell/data_type_profiling.sh create mode 100644 tools/perf/tests/workloads/code_with_type.c create mode 100644 tools/perf/tests/workloads/code_with_type.rs
base-commit: 36a1b0061a584430277861fe5d8bd107aef26137
Signature · 1 line
2.52.0