Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/powerpc: Lower run time of count_stcx_fail test

The count_stcx_fail test runs for close to or just over 2 minutes, which
means it sometimes times out.

That's overkill for a test that just demonstrates some PMU counters
are working. Drop the 64 billion instruction case, to lower the runtime
to ~30s.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241106130453.1741013-1-mpe@ellerman.id.au

-3
-3
tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
··· 144 144 /* Run for 16Bi instructions */ 145 145 FAIL_IF(do_count_loop(events, 16000000000, overhead, true)); 146 146 147 - /* Run for 64Bi instructions */ 148 - FAIL_IF(do_count_loop(events, 64000000000, overhead, true)); 149 - 150 147 event_close(&events[0]); 151 148 event_close(&events[1]); 152 149