perf test: Move each test suite struct to its test
Rather than export test functions, export the test struct. Rename with a suite__ prefix to avoid name collisions. Committer notes: Its '&suite__vectors_page', not '&suite__vectors_pages', noticed when cross building to arm (32-bit). Signed-off-by:Ian Rogers <irogers@google.com> Tested-by:
Sohaib Mohamed <sohaib.amhmd@gmail.com> Acked-by:
Jiri Olsa <jolsa@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Brendan Higgins <brendanhiggins@google.com> Cc: Daniel Latypov <dlatypov@google.com> Cc: David Gow <davidgow@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: John Garry <john.garry@huawei.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Clarke <pc@us.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: https://lore.kernel.org/r/20211104064208.3156807-5-irogers@google.com Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/arch/arm/tests/arch-tests.c 2 additions, 2 deletionstools/perf/arch/arm/tests/arch-tests.c
- tools/perf/arch/arm64/tests/arch-tests.c 1 addition, 1 deletiontools/perf/arch/arm64/tests/arch-tests.c
- tools/perf/arch/powerpc/tests/arch-tests.c 1 addition, 1 deletiontools/perf/arch/powerpc/tests/arch-tests.c
- tools/perf/arch/x86/tests/arch-tests.c 6 additions, 6 deletionstools/perf/arch/x86/tests/arch-tests.c
- tools/perf/tests/api-io.c 4 additions, 2 deletionstools/perf/tests/api-io.c
- tools/perf/tests/attr.c 3 additions, 1 deletiontools/perf/tests/attr.c
- tools/perf/tests/backward-ring-buffer.c 3 additions, 1 deletiontools/perf/tests/backward-ring-buffer.c
- tools/perf/tests/bitmap.c 3 additions, 1 deletiontools/perf/tests/bitmap.c
- tools/perf/tests/bp_account.c 8 additions, 2 deletionstools/perf/tests/bp_account.c
- tools/perf/tests/bp_signal.c 7 additions, 1 deletiontools/perf/tests/bp_signal.c
- tools/perf/tests/bp_signal_overflow.c 7 additions, 1 deletiontools/perf/tests/bp_signal_overflow.c
- tools/perf/tests/bpf.c 16 additions, 6 deletionstools/perf/tests/bpf.c
- tools/perf/tests/builtin-test.c 72 additions, 213 deletionstools/perf/tests/builtin-test.c
- tools/perf/tests/clang.c 14 additions, 4 deletionstools/perf/tests/clang.c
- tools/perf/tests/code-reading.c 3 additions, 1 deletiontools/perf/tests/code-reading.c
- tools/perf/tests/cpumap.c 7 additions, 3 deletionstools/perf/tests/cpumap.c
- tools/perf/tests/demangle-java-test.c 3 additions, 1 deletiontools/perf/tests/demangle-java-test.c
- tools/perf/tests/demangle-ocaml-test.c 3 additions, 1 deletiontools/perf/tests/demangle-ocaml-test.c
- tools/perf/tests/dlfilter-test.c 3 additions, 1 deletiontools/perf/tests/dlfilter-test.c
- tools/perf/tests/dso-data.c 7 additions, 3 deletionstools/perf/tests/dso-data.c
Loading
Please register or sign in to comment