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. 3 prog: sleepers 4 args: 1 0 1000000000 B-B-B-B- 5 vgopts: --tool=memcheck --vgdb=yes --vgdb-prefix=./vgdb-prefix-mcinvokeRU 6 stderr_filter: filter_make_empty 7 # as the Valgrind process is always busy, we do not need the vgdb.ptraceinvoker prereq. 8 # We even disable ptrace invoker to avoid spurious attach error message 9 # on kernels where ptrace is restricted. 10 progB: invoker 11 argsB: 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. 13 stdoutB_filter: filter_memcheck_monitor 14 stderrB_filter: filter_vgdb 15