aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bp_signal_overflow.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2021-11-04 06:42:02 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-11-13 21:11:49 +0000
commite329f03a1f1b547c858a308b2cfcd5d6e8dd8740 (patch)
treebe3e0a0f9729fc528cf310e99f1bc8aa3aca93f1 /tools/perf/tests/bp_signal_overflow.c
parentperf test: Remove now unused subtest helpers (diff)
downloadkernel-e329f03a1f1b547c858a308b2cfcd5d6e8dd8740.tar.gz
kernel-e329f03a1f1b547c858a308b2cfcd5d6e8dd8740.zip
perf test: bp tests use test case
Migration toward kunit style test cases. Signed-off-by: Ian Rogers <[email protected]> Tested-by: Sohaib Mohamed <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: Daniel Latypov <[email protected]> Cc: David Gow <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jin Yao <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Clarke <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bp_signal_overflow.c')
-rw-r--r--tools/perf/tests/bp_signal_overflow.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/perf/tests/bp_signal_overflow.c b/tools/perf/tests/bp_signal_overflow.c
index 5ac6e1393cf4..bc1f13851750 100644
--- a/tools/perf/tests/bp_signal_overflow.c
+++ b/tools/perf/tests/bp_signal_overflow.c
@@ -134,8 +134,13 @@ static int test__bp_signal_overflow(struct test_suite *test __maybe_unused, int
return fails ? TEST_FAIL : TEST_OK;
}
+static struct test_case bp_signal_overflow_tests[] = {
+ TEST_CASE("Breakpoint overflow sampling", bp_signal_overflow),
+ { .name = NULL, }
+};
+
struct test_suite suite__bp_signal_overflow = {
.desc = "Breakpoint overflow sampling",
- .func = test__bp_signal_overflow,
+ .test_cases = bp_signal_overflow_tests,
.is_supported = test__bp_signal_is_supported,
};