1# test that vgdb can invoke a process when all threads are in Runnable or Yielding mode 2# If the test goes wrong, it might consume CPU during a long time. 3prog: sleepers 4args: 1 0 1000000000 B-B-B-B- 5vgopts: --tool=memcheck --vgdb=yes --vgdb-prefix=./vgdb-prefix-mcinvokeRU 6stderr_filter: filter_make_empty 7# as the Valgrind process is always busy, we do not need the vgdb.invoker prereq. 8# We even disable invoker to avoid spurious attach error message 9# on kernels where ptrace is restricted. 10progB: invoker 11argsB: 10 --vgdb-prefix=./vgdb-prefix-mcinvokeRU --max-invoke-ms=0 --wait=60 -c v.wait 0 12# if the --wait is not enough, the test will fail or block. 13stdoutB_filter: filter_memcheck_monitor 14stderrB_filter: filter_vgdb 15