Searched refs:subprocess (Results 26 - 49 of 49) sorted by relevance

12

/linux-master/Documentation/sphinx/
H A Dkernel_feat.py37 import subprocess namespace
96 lines = subprocess.check_output(args, cwd=os.path.dirname(doc.current_source)).decode('utf-8')
H A Dkfigure.py53 import subprocess namespace
184 dot_Thelp_list = subprocess.check_output([dot_cmd, '-Thelp'],
185 stderr=subprocess.STDOUT)
186 except subprocess.CalledProcessError as err:
197 inkscape_ver = subprocess.check_output([inkscape_cmd, '--version'],
198 stderr=subprocess.DEVNULL)
355 exit_code = subprocess.call(cmd, stdout = out)
383 warning_msg = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
385 except subprocess
[all...]
/linux-master/scripts/
H A Dmake_fit.py34 import subprocess namespace
175 subprocess.call([tool, '-c'], stdin=inf, stdout=outf)
271 subprocess.check_call([mkimage, '-E', '-F', args.output],
272 stdout=subprocess.DEVNULL)
H A Drust_is_available_test.py14 import subprocess namespace
86 cls.rustc_default_version = subprocess.check_output(("scripts/min-tool-version.sh", "rustc")).decode().strip()
87 cls.bindgen_default_version = subprocess.check_output(("scripts/min-tool-version.sh", "bindgen")).decode().strip()
88 cls.llvm_default_version = subprocess.check_output(("scripts/min-tool-version.sh", "llvm")).decode().strip()
89 cls.rust_default_sysroot = subprocess.check_output(("rustc", "--print", "sysroot")).decode().strip()
111 result = subprocess.run("scripts/rust_is_available.sh", env=env, capture_output=True)
H A Dcheckkconfigsymbols.py16 import subprocess namespace
229 stdout = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=False)
231 except subprocess.CalledProcessError as fail:
H A Dbpf_doc.py13 import subprocess namespace
412 version = subprocess.run(['git', 'describe'], cwd=linuxRoot,
417 version = subprocess.run(['make', '-s', '--no-print-directory', 'kernelversion'],
429 date = subprocess.run(cmd, cwd=linuxRoot,
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py28 import subprocess namespace
182 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
199 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
213 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
227 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
241 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
255 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
269 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
283 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
/linux-master/scripts/clang-tools/
H A Dgen_compile_commands.py15 import subprocess namespace
123 for obj in subprocess.check_output([ar, '-t', archive]).decode().split():
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py23 import subprocess namespace
121 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
135 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
150 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
/linux-master/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py7 import subprocess namespace
381 cmd = subprocess.run(command, stderr=subprocess.PIPE, encoding='utf-8')
435 cmd = subprocess.run(command, stdout=subprocess.PIPE,
436 stderr=subprocess.PIPE, encoding='utf-8')
/linux-master/tools/perf/util/
H A Dsetup.py2 from subprocess import Popen, PIPE
/linux-master/tools/perf/scripts/python/
H A Dparallel-perf.py10 import subprocess namespace
38 # Manage work (Start/Wait/Kill), as represented by a subprocess.Popen command
74 self.popen = subprocess.Popen(self.cmd, stdout=subprocess.PIPE, stderr=stderr)
76 self.consumer = subprocess.Popen(args, stdin=self.popen.stdout, stdout=stdout, stderr=stderr)
78 self.popen = subprocess.Popen(self.cmd, stdout=stdout, stderr=stderr)
263 return subprocess.Popen([perf, "script", "--header-only", "--input", file_name], stdout=subprocess.PIPE).stdout.read().decode("utf-8")
440 p = subprocess.Popen(cmd, stdout=subprocess
[all...]
H A Dflamegraph.py27 import subprocess namespace
126 output = subprocess.check_output(["perf", "report", "--header-only"])
H A Darm-cs-trace-disasm.py13 from subprocess import *
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py11 import subprocess namespace
49 subprocess.check_output('rm -f vgnd-*.log', shell=True)
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py4 import subprocess namespace
122 out = subprocess.check_output(cmd, shell=True)
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc.py16 import subprocess namespace
205 it in a subprocess and return the results.
216 proc = subprocess.Popen(command,
218 stdout=subprocess.PIPE,
219 stderr=subprocess.PIPE,
228 except subprocess.TimeoutExpired:
/linux-master/tools/perf/tests/
H A Dattr.py14 import subprocess namespace
218 auxv = subprocess.check_output("LD_SHOW_AUXV=1 sleep 0", shell=True) \
/linux-master/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_port_split.py4 from subprocess import PIPE, Popen
28 Run a command in subprocess.
/linux-master/tools/testing/kunit/
H A Dkunit_tool_test.py18 import subprocess namespace
466 return subprocess.Popen(['echo "hi\nbye"'], shell=True, text=True, stdout=subprocess.PIPE)
/linux-master/tools/testing/selftests/net/
H A Dbpf_offload.py28 import subprocess namespace
101 Run a command in subprocess and return tuple of (retval, stdout);
104 proc = subprocess.Popen(cmd, shell=shell, stdout=subprocess.PIPE,
105 stderr=subprocess.PIPE)
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat34 import subprocess
1107 child = subprocess.Popen(['ps', '-A', '--format', 'pid,args'],
1108 stdout=subprocess.PIPE)
/linux-master/tools/power/pm-graph/
H A Dbootgraph.py35 from subprocess import call, Popen, PIPE
H A Dsleepgraph.py66 from subprocess import call, Popen, PIPE

Completed in 386 milliseconds

12