perf tests: Test annotate with data type profiling and rust
authorDmitrii Dolgov <9erthalion6@gmail.com>
Sun, 8 Feb 2026 12:22:25 +0000 (13:22 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 8 Feb 2026 22:16:28 +0000 (19:16 -0300)
commitf60a5c22967b845d5319d4f447cb28190021795c
tree06c853f91735dbc6ac1ec1acd3c621321469c7dd
parent2e05bb52a12d3cdb81f3b6f5de5cb3905d383552
perf tests: Test annotate with data type profiling and rust

Exercise the annotate command with data type profiling feature on the
rust runtime. For that add a new shell test, which will profile the
code_with_type workload, then annotate the result expecting to see some
data structures from the rust code.

Committer testing:

  root@number:~# perf test 'perf data type profiling tests'
   83: perf data type profiling tests                            : Ok
  root@number:~# perf test -v 'perf data type profiling tests'
   83: perf data type profiling tests                            : Ok
  root@number:~# perf test -vv 'perf data type profiling tests'
   83: perf data type profiling tests:
  --- start ---
  test child forked, pid 111044
  Basic perf annotate test
  Basic annotate test [Success]
  Pipe perf annotate test
  Pipe annotate test [Success]
  ---- end(0) ----
   83: perf data type profiling tests                            : Ok
  root@number:~#

Signed-off-by: Dmitrii Dolgov <9erthalion6@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/data_type_profiling.sh [new file with mode: 0755]