| /qemu/scripts/performance/ |
| A D | topN_perf.py | 36 import subprocess 58 check_perf_presence = subprocess.run(["which", "perf"], 59 stdout=subprocess.DEVNULL) 64 check_perf_executability = subprocess.run(["perf", "stat", "ls", "/"], 65 stdout=subprocess.DEVNULL, 66 stderr=subprocess.DEVNULL) 92 perf_record = subprocess.run((["perf", "record", "--output=/tmp/perf.data"] + 94 stdout=subprocess.DEVNULL, 95 stderr=subprocess.PIPE) 102 perf_report = subprocess.run( [all …]
|
| A D | topN_callgrind.py | 36 import subprocess 58 check_valgrind_presence = subprocess.run(["which", "valgrind"], 59 stdout=subprocess.DEVNULL) 64 callgrind = subprocess.run(( 67 stdout=subprocess.DEVNULL, 68 stderr=subprocess.PIPE) 74 callgrind_annotate = subprocess.run(["callgrind_annotate", 77 stderr=subprocess.PIPE)
|
| A D | dissect.py | 35 import subprocess 78 check_valgrind = subprocess.run( 79 ["which", "valgrind"], stdout=subprocess.DEVNULL) 91 callgrind = subprocess.run((["valgrind", 95 stdout=subprocess.DEVNULL, 96 stderr=subprocess.PIPE) 102 callgrind_annotate = subprocess.run( 105 stderr=subprocess.PIPE)
|
| /qemu/.gitlab-ci.d/ |
| A D | check-patch.py | 12 import subprocess 26 subprocess.check_call(["git", "remote", "add", "check-patch", repourl]) 27 subprocess.check_call(["git", "fetch", "check-patch", "master"]) 29 ancestor = subprocess.check_output(["git", "merge-base", 35 log = subprocess.check_output(["git", "log", "--format=%H %s", 39 subprocess.check_call(["git", "remote", "rm", "check-patch"]) 49 ret = subprocess.run(["scripts/checkpatch.pl", "--terse", ancestor + "..."])
|
| A D | check-dco.py | 12 import subprocess 23 subprocess.check_call(["git", "remote", "add", "check-dco", repourl]) 24 subprocess.check_call(["git", "fetch", "check-dco", "master"]) 26 ancestor = subprocess.check_output(["git", "merge-base", 32 subprocess.check_call(["git", "remote", "rm", "check-dco"]) 39 log = subprocess.check_output(["git", "log", "--format=%H %s", 50 msg = subprocess.check_output(["git", "show", "-s", sha],
|
| /qemu/tests/qemu-iotests/ |
| A D | 277 | 23 import subprocess 47 srv = subprocess.Popen(['./nbd-fault-injector.py', '--classic-negotiation', 48 nbd_sock, conf_file], stdout=subprocess.PIPE, 49 stderr=subprocess.STDOUT, universal_newlines=True) 65 clt = subprocess.Popen(args, stdout=subprocess.PIPE, 66 stderr=subprocess.STDOUT, 82 except subprocess.TimeoutExpired:
|
| A D | 149 | 24 import subprocess 98 proc = subprocess.Popen(args, 99 stdin=subprocess.PIPE, 100 stdout=subprocess.PIPE, 117 proc = subprocess.Popen(fullargs, 118 stdin=subprocess.PIPE, 119 stdout=subprocess.PIPE, 184 proc = subprocess.Popen(args, 185 stdin=subprocess.PIPE, 186 stdout=subprocess.PIPE, [all …]
|
| A D | linters.py | 18 import subprocess 70 subprocess.run( 74 stdout=subprocess.PIPE if suppress_output else None, 75 stderr=subprocess.STDOUT if suppress_output else None,
|
| A D | 207 | 25 import subprocess 121 keys = subprocess.check_output( 132 md5_keys[key] = subprocess.check_output( 136 sha1_keys[key] = subprocess.check_output( 140 sha256_keys[key] = subprocess.check_output(
|
| A D | 297 | 20 import subprocess 38 except subprocess.CalledProcessError: 76 except subprocess.CalledProcessError as exc:
|
| /qemu/tests/vm/ |
| A D | aarch64vm.py | 15 import subprocess 74 subprocess.check_call(["dd", "if=/dev/zero", "of={}".format(flash0_path), 76 stdout=fd_null, stderr=subprocess.STDOUT) 84 subprocess.check_call(["dd", "if={}".format(efi_img), 87 stdout=fd_null, stderr=subprocess.STDOUT) 88 subprocess.check_call(["dd", "if=/dev/zero", 91 stdout=fd_null, stderr=subprocess.STDOUT)
|
| /qemu/scripts/simplebench/ |
| A D | bench_prealloc.py | 24 import subprocess 33 p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 53 subprocess.run([env['qemu-img-binary'], 'create', '-f', 'qcow2', fname, 54 '16G'], stdout=subprocess.DEVNULL, 55 stderr=subprocess.DEVNULL, check=True)
|
| A D | bench_block_job.py | 24 import subprocess 86 out = subprocess.run(['qemu-img', 'info', '--out=json', path], 87 stdout=subprocess.PIPE, check=True).stdout 107 subprocess.run(['qemu-img', 'create', '-f', 'qcow2', 110 stdout=subprocess.DEVNULL, 111 stderr=subprocess.DEVNULL, check=True)
|
| A D | img_bench_templater.py | 23 import subprocess 35 p = subprocess.run(test, shell=True, stdout=subprocess.PIPE, 36 stderr=subprocess.STDOUT, universal_newlines=True)
|
| A D | bench_write_req.py | 27 import subprocess 41 subp = subprocess.Popen(list(args), 42 stdout=subprocess.PIPE, 43 stderr=subprocess.STDOUT,
|
| /qemu/scripts/ |
| A D | undefsym.py | 12 import subprocess 34 pc = subprocess.run([nm, "-P", "-g", staticlib], stdout=subprocess.PIPE) 40 pc = subprocess.run([nm, "-P", "-g"] + shared_modules, stdout=subprocess.PIPE)
|
| A D | nsis.py | 11 import subprocess 19 subprocess.run([cmd, path]) 23 output = subprocess.check_output(["objdump", "-p", exe_or_dll], text=True) 59 subprocess.run(["make", "install", "DESTDIR=" + destdir]) 122 subprocess.run(makensis)
|
| A D | symlink-install-tree.py | 8 import subprocess 18 out = subprocess.run([*shlex.split(introspect), '--installed'], 19 stdout=subprocess.PIPE, check=True).stdout
|
| A D | modinfo-collect.py | 8 import subprocess 56 result = subprocess.run(cmdline, stdout = subprocess.PIPE,
|
| /qemu/scripts/ci/ |
| A D | gitlab-pipeline-status | 21 import subprocess 38 result = subprocess.run(['git', 'rev-parse', branch], 39 stdin=subprocess.DEVNULL, 40 stdout=subprocess.PIPE, 41 stderr=subprocess.DEVNULL,
|
| /qemu/tests/docker/ |
| A D | docker.py | 16 import subprocess 86 if subprocess.call(cmd + ["version"], 131 except subprocess.CalledProcessError: 242 return subprocess.call(self._command + cmd, **kwargs) 247 return subprocess.check_call(self._command + cmd, **kwargs) 276 return subprocess.check_output(self._command + cmd, 277 stderr=subprocess.STDOUT, 282 return subprocess.check_output(self._command + cmd, 283 stderr=subprocess.STDOUT, 290 except subprocess.CalledProcessError: [all …]
|
| /qemu/tests/guest-debug/ |
| A D | run-test.py | 15 import subprocess 82 inferior = subprocess.Popen(shlex.split(cmd)) 110 result = subprocess.call(gdb_cmd, shell=True, stdout=output, stderr=stderr, 123 except subprocess.TimeoutExpired:
|
| /qemu/roms/ |
| A D | edk2-build.py | 12 import subprocess 75 result = subprocess.run(cmdline, cwd = coredir, 76 stdout = subprocess.PIPE, 124 result = subprocess.run(cmdline, check = False, 125 stdout = subprocess.PIPE, 126 stderr = subprocess.STDOUT) 143 result = subprocess.run(cmdline, check = False) 176 subprocess.run(cmdline, check = True) 280 subprocess.run(cmdline, cwd = coredir, check = True)
|
| /qemu/tests/functional/ |
| A D | test_virtio_gpu.py | 19 import subprocess 111 vugp = subprocess.Popen( 113 stdin=subprocess.DEVNULL, 115 stderr=subprocess.STDOUT,
|
| /qemu/tests/functional/qemu_test/ |
| A D | cmd.py | 17 import subprocess 69 subp = subprocess.Popen(args, 70 stdout=subprocess.PIPE, 71 stderr=subprocess.PIPE,
|