perf test: Move PERF_SAMPLE_WEIGHT_STRUCT parsing to common test
authorIan Rogers <irogers@google.com>
Thu, 24 Jul 2025 16:33:01 +0000 (09:33 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 25 Jul 2025 17:37:58 +0000 (10:37 -0700)
commita563c9f3bb8c23416f3e72edfbc75d1a4937f7e0
treed58c47919f2a4f1c34593c90da3edf17a1a6a136
parent8882095b1d4d785524a7a4df8e04e35cfd039142
perf test: Move PERF_SAMPLE_WEIGHT_STRUCT parsing to common test

test__x86_sample_parsing is identical to test__sample_parsing except
it explicitly tested PERF_SAMPLE_WEIGHT_STRUCT. Now the parsing code
is common move the PERF_SAMPLE_WEIGHT_STRUCT to the common sample
parsing test and remove the x86 version.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-22-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/arch/x86/include/arch-tests.h
tools/perf/arch/x86/tests/Build
tools/perf/arch/x86/tests/arch-tests.c
tools/perf/arch/x86/tests/sample-parsing.c [deleted file]
tools/perf/tests/sample-parsing.c