mirror-linux/tools/perf/tests
Arnaldo Carvalho de Melo adc1284bae perf test data_type_profiling.sh: Skip just the Rust tests if code_with_type workload is missing
Namhyung suggested skipping only the rust tests when the code_with_type
'perf test' workload is not built into perf, do it so that we can
continue to test the C based workloads:

With rust:

  root@number:/# perf test -vv "data type"
   83: perf data type profiling tests:
  --- start ---
  test child forked, pid 2645245
  Basic Rust perf annotate test
  Basic annotate test [Success]
  Pipe Rust perf annotate test
  Pipe annotate test [Success]
  Basic C perf annotate test
  Basic annotate test [Success]
  Pipe C perf annotate test
  Pipe annotate test [Success]
  ---- end(0) ----
   83: perf data type profiling tests                                  : Ok
  root@number:/#

Without:

  root@number:/# perf test "data type"
   83: perf data type profiling tests                                  : Ok
  root@number:/# perf test -vv "data type"
   83: perf data type profiling tests:
  --- start ---
  test child forked, pid 2634759
  Basic Rust perf annotate test
  Skip: code_with_type workload not built in 'perf test'
  Pipe Rust perf annotate test
  Skip: code_with_type workload not built in 'perf test'
  Basic C perf annotate test
  Basic annotate test [Success]
  Pipe C perf annotate test
  Pipe annotate test [Success]
  ---- end(0) ----
   83: perf data type profiling tests                                  : Ok
  root@number:/#

Suggested-by: Namhyung Kim <namhyung@kernel.org>
Cc: Dmitrii Dolgov <9erthalion6@gmail.com>
Cc: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-02-12 17:45:22 -03:00
..
config-fragments
shell perf test data_type_profiling.sh: Skip just the Rust tests if code_with_type workload is missing 2026-02-12 17:45:22 -03:00
workloads perf tests workload: Formatting for code_with_type.rs 2026-02-09 15:36:00 -03:00
Build
api-io.c
backward-ring-buffer.c
bitmap.c
bp_account.c
bp_signal.c
bp_signal_overflow.c
builtin-test.c perf test workload: Add code_with_type test workload 2026-02-08 19:16:24 -03:00
code-reading.c
cpumap.c
demangle-java-test.c
demangle-ocaml-test.c
demangle-rust-v0-test.c
dlfilter-test.c perf script: Fix script_fetch_insn for more than just x86 2026-01-27 01:35:22 -03:00
dso-data.c
dwarf-unwind.c
event-times.c
event_groups.c
event_update.c
evsel-roundtrip-name.c
evsel-tp-sched.c
expand-cgroup.c
expr.c
fdarray.c
genelf.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
hwmon_pmu.c
is_printable_array.c
kallsyms-split.c
keep-tracking.c
kmod-path.c
make perf tests: build-test coverage for NO_JEVENTS=1 2026-02-06 11:56:54 -03:00
maps.c
mem.c
mem2node.c
mmap-basic.c
mmap-thread-lookup.c
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c
parse-metric.c perf test parse-metric: Ensure aggregate counts appear to have run 2026-02-08 11:30:01 -03:00
parse-no-sample-id-all.c
pe-file-parsing.c
pe-file.c
pe-file.exe
pe-file.exe.debug
perf-hooks.c
perf-record.c
perf-targz-src-pkg
perf-time-to-tsc.c
pfm.c
pmu-events.c
pmu.c
sample-parsing.c
sdt.c
sigtrap.c
stat.c
subcmd-help.c
sw-clock.c
switch-tracking.c
symbols.c
task-exit.c
tests-scripts.c
tests-scripts.h
tests.h perf test workload: Add code_with_type test workload 2026-02-08 19:16:24 -03:00
thread-map.c
thread-maps-share.c
time-utils-test.c
tool_pmu.c
topology.c
unit_number__scnprintf.c
util.c
vmlinux-kallsyms.c
wp.c