Skip to contentSkip to conversation

perf tests switch-tracking: Set this test to run exclusively

PATCH In review Arnaldo Carvalho de Melo 2 participants 2 messages Dec 13, 2024 perf events

lore
Share & tools
lore

Arnaldo Carvalho de Melo

author maintainer
#0 lore raw

PATCH v2 1/1 perf tests switch-tracking: Set this test to run exclusively

This test was failing when run with the default 'perf test' mode, which is to run multiple regression tests in parallel.

Since it checks system_wide mode, set it to run in exclusive mode.

---
 tools/perf/tests/switch-tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/switch-tracking.c +1 -1
index 5cab17a1942e67d7..576f82a15015371a 100644
@@ -583,4 +583,4 @@ static int test__switch_tracking(struct test_suite *test __maybe_unused, int sub
 	goto out;
 }
 
-DEFINE_SUITE("Track with sched_switch", switch_tracking);
+DEFINE_SUITE_EXCLUSIVE("Track with sched_switch", switch_tracking);
Signature · 1 line
2.47.0
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · Arnaldo Carvalho de Melo

This test was failing when run with the default 'perf test' mode, which is to run multiple regression tests in parallel.

Since it checks system_wide mode, set it to run in exclusive mode.

Quoted 9 lines

Thanks,
Ian