mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

The test cases are listed examples in: https://doc.rust-lang.org/rustc/symbol-mangling/v0.html This test was previously part of a different Rust v0 demangler: https://lore.kernel.org/lkml/20250129193037.573431-1-irogers@google.com/ Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alex Gaynor <alex.gaynor@gmail.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alice Ryhl <aliceryhl@google.com> Cc: Andreas Hindborg <a.hindborg@kernel.org> Cc: Ariel Ben-Yehuda <ariel.byd@gmail.com> Cc: Benno Lossin <benno.lossin@proton.me> Cc: Bill Wendling <morbo@google.com> Cc: Björn Roy Baron <bjorn3_gh@protonmail.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Daniel Xu <dxu@dxuuu.xyz> Cc: Danilo Krummrich <dakr@kernel.org> Cc: Gary Guo <gary@garyguo.net> Cc: Howard Chu <howardchu95@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Justin Stitt <justinstitt@google.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Miguel Ojeda <ojeda@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Nick Desaulniers <nick.desaulniers+lkml@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Stephen Brennan <stephen.s.brennan@oracle.com> Cc: Trevor Gross <tmgross@umich.edu> Link: https://lore.kernel.org/r/20250430004128.474388-5-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
121 lines
3.4 KiB
Plaintext
121 lines
3.4 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
perf-test-y += builtin-test.o
|
|
perf-test-y += tests-scripts.o
|
|
perf-test-y += parse-events.o
|
|
perf-test-y += dso-data.o
|
|
perf-test-y += vmlinux-kallsyms.o
|
|
perf-test-y += openat-syscall.o
|
|
perf-test-y += openat-syscall-all-cpus.o
|
|
perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o
|
|
perf-test-y += mmap-basic.o
|
|
perf-test-y += perf-record.o
|
|
perf-test-y += evsel-roundtrip-name.o
|
|
perf-test-$(CONFIG_LIBTRACEEVENT) += evsel-tp-sched.o
|
|
perf-test-y += fdarray.o
|
|
perf-test-y += pmu.o
|
|
perf-test-y += pmu-events.o
|
|
perf-test-y += hists_common.o
|
|
perf-test-y += hists_link.o
|
|
perf-test-y += hists_filter.o
|
|
perf-test-y += hists_output.o
|
|
perf-test-y += hists_cumulate.o
|
|
perf-test-y += python-use.o
|
|
perf-test-y += bp_signal.o
|
|
perf-test-y += bp_signal_overflow.o
|
|
perf-test-y += bp_account.o
|
|
perf-test-y += wp.o
|
|
perf-test-y += task-exit.o
|
|
perf-test-y += sw-clock.o
|
|
perf-test-y += mmap-thread-lookup.o
|
|
perf-test-y += thread-maps-share.o
|
|
perf-test-$(CONFIG_LIBTRACEEVENT) += switch-tracking.o
|
|
perf-test-y += keep-tracking.o
|
|
perf-test-y += code-reading.o
|
|
perf-test-y += sample-parsing.o
|
|
perf-test-y += parse-no-sample-id-all.o
|
|
perf-test-y += kmod-path.o
|
|
perf-test-y += thread-map.o
|
|
perf-test-y += topology.o
|
|
perf-test-y += mem.o
|
|
perf-test-y += cpumap.o
|
|
perf-test-y += stat.o
|
|
perf-test-y += event_update.o
|
|
perf-test-y += event-times.o
|
|
perf-test-y += expr.o
|
|
perf-test-y += backward-ring-buffer.o
|
|
perf-test-y += sdt.o
|
|
perf-test-y += is_printable_array.o
|
|
perf-test-y += bitmap.o
|
|
perf-test-y += perf-hooks.o
|
|
perf-test-y += unit_number__scnprintf.o
|
|
perf-test-y += mem2node.o
|
|
perf-test-y += maps.o
|
|
perf-test-y += time-utils-test.o
|
|
perf-test-y += genelf.o
|
|
perf-test-y += api-io.o
|
|
perf-test-y += demangle-java-test.o
|
|
perf-test-y += demangle-ocaml-test.o
|
|
perf-test-y += demangle-rust-v0-test.o
|
|
perf-test-y += pfm.o
|
|
perf-test-y += parse-metric.o
|
|
perf-test-y += pe-file-parsing.o
|
|
perf-test-y += expand-cgroup.o
|
|
perf-test-y += perf-time-to-tsc.o
|
|
perf-test-y += dlfilter-test.o
|
|
perf-test-y += sigtrap.o
|
|
perf-test-y += event_groups.o
|
|
perf-test-y += symbols.o
|
|
perf-test-y += util.o
|
|
perf-test-y += hwmon_pmu.o
|
|
perf-test-y += tool_pmu.o
|
|
|
|
ifeq ($(SRCARCH),$(filter $(SRCARCH),x86 arm arm64 powerpc))
|
|
perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o
|
|
endif
|
|
|
|
CFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))"
|
|
CFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls
|
|
|
|
perf-test-y += workloads/
|
|
|
|
ifdef SHELLCHECK
|
|
SHELL_TESTS := $(shell find tests/shell -executable -type f -name '*.sh')
|
|
SHELL_TEST_LOGS := $(SHELL_TESTS:tests/shell/%=shell/%.shellcheck_log)
|
|
else
|
|
SHELL_TESTS :=
|
|
SHELL_TEST_LOGS :=
|
|
endif
|
|
|
|
$(OUTPUT)%.shellcheck_log: %
|
|
$(call rule_mkdir)
|
|
$(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ && rm $@ && false)
|
|
|
|
perf-test-y += $(SHELL_TEST_LOGS)
|
|
|
|
ifdef MYPY
|
|
PY_TESTS := $(shell find tests/shell -type f -name '*.py')
|
|
MYPY_TEST_LOGS := $(PY_TESTS:tests/shell/%=shell/%.mypy_log)
|
|
else
|
|
MYPY_TEST_LOGS :=
|
|
endif
|
|
|
|
$(OUTPUT)%.mypy_log: %
|
|
$(call rule_mkdir)
|
|
$(Q)$(call echo-cmd,test)mypy "$<" > $@ || (cat $@ && rm $@ && false)
|
|
|
|
perf-test-y += $(MYPY_TEST_LOGS)
|
|
|
|
ifdef PYLINT
|
|
PY_TESTS := $(shell find tests/shell -type f -name '*.py')
|
|
PYLINT_TEST_LOGS := $(PY_TESTS:tests/shell/%=shell/%.pylint_log)
|
|
else
|
|
PYLINT_TEST_LOGS :=
|
|
endif
|
|
|
|
$(OUTPUT)%.pylint_log: %
|
|
$(call rule_mkdir)
|
|
$(Q)$(call echo-cmd,test)pylint "$<" > $@ || (cat $@ && rm $@ && false)
|
|
|
|
perf-test-y += $(PYLINT_TEST_LOGS)
|