public inbox for linux-perf-users@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/4] Test annotate with data type profiling
@ 2026-02-08 12:22 Dmitrii Dolgov
  2026-02-08 12:22 ` [RFC PATCH v2 1/4] tools/build: Add a feature test for rust compiler Dmitrii Dolgov
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Dmitrii Dolgov @ 2026-02-08 12:22 UTC (permalink / raw)
  To: linux-perf-users, Namhyung Kim, Arnaldo Carvalho de Melo,
	Ian Rogers
  Cc: Dmitrii Dolgov

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
-- 
2.52.0


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-03-04 22:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-08 12:22 [RFC PATCH v2 0/4] Test annotate with data type profiling Dmitrii Dolgov
2026-02-08 12:22 ` [RFC PATCH v2 1/4] tools/build: Add a feature test for rust compiler Dmitrii Dolgov
2026-02-08 12:22 ` [RFC PATCH v2 2/4] perf test workload: Add code_with_type test workload Dmitrii Dolgov
2026-02-09 17:29   ` Ian Rogers
2026-02-11 10:57     ` Dmitry Dolgov
2026-02-09 17:33   ` Ian Rogers
2026-02-11 10:02     ` Dmitry Dolgov
2026-02-08 12:22 ` [RFC PATCH v2 3/4] perf tests: Test annotate with data type profiling and rust Dmitrii Dolgov
2026-02-08 12:22 ` [RFC PATCH v2 4/4] perf tests: Test annotate with data type profiling and C Dmitrii Dolgov
2026-02-10  5:39   ` Ian Rogers
2026-02-10 11:57     ` Dmitry Dolgov
2026-03-02 23:58       ` [PATCH v1] perf test type profiling: Remote typedef on struct Ian Rogers
2026-03-04 10:44         ` Dmitry Dolgov
2026-03-04 20:34           ` Arnaldo Carvalho de Melo
2026-03-04 21:48         ` Namhyung Kim
2026-03-04 22:04           ` Arnaldo Carvalho de Melo
2026-02-08 14:39 ` [RFC PATCH v2 0/4] Test annotate with data type profiling Arnaldo Carvalho de Melo
2026-02-08 14:42   ` Rust data-type profiling working in perf was: " Arnaldo Carvalho de Melo
2026-02-08 15:16     ` Miguel Ojeda
2026-02-09  8:45     ` Dmitry Dolgov
2026-02-10  1:26       ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox