Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/linux/tools/pci/
A Dpcitest.c57 fprintf(stdout, "TEST FAILED\n"); in run_test()
66 fprintf(stdout, "FAILED\n"); in run_test()
75 fprintf(stdout, "FAILED\n"); in run_test()
77 fprintf(stdout, "%s\n", irq[ret]); in run_test()
82 fprintf(stdout, "CLEAR IRQ:\t\t"); in run_test()
84 fprintf(stdout, "FAILED\n"); in run_test()
91 fprintf(stdout, "LEGACY IRQ:\t"); in run_test()
93 fprintf(stdout, "TEST FAILED\n"); in run_test()
102 fprintf(stdout, "TEST FAILED\n"); in run_test()
111 fprintf(stdout, "TEST FAILED\n"); in run_test()
[all …]
/linux/tools/testing/selftests/net/
A Ddevlink_port_split.py33 stdout, stderr = p.communicate()
34 stdout, stderr = stdout.decode(), stderr.decode()
38 print(stdout)
40 return stdout, stderr
58 stdout, stderr = run_command(cmd)
60 ports = json.loads(stdout)['port']
80 stdout, stderr = run_command(cmd)
98 stdout, stderr = run_command(cmd)
134 stdout, stderr = run_command(cmd)
213 stdout, stderr = run_command(cmd)
[all …]
/linux/tools/gpio/
A Dgpio-hammer.c55 fprintf(stdout, "Hammer lines ["); in hammer_device()
57 fprintf(stdout, "%d", lines[i]); in hammer_device()
59 fprintf(stdout, ", "); in hammer_device()
65 fprintf(stdout, ", "); in hammer_device()
67 fprintf(stdout, "]\n"); in hammer_device()
85 fprintf(stdout, "[%c] ", swirr[j]); in hammer_device()
90 fprintf(stdout, "["); in hammer_device()
95 fprintf(stdout, ", "); in hammer_device()
97 fprintf(stdout, "]\r"); in hammer_device()
98 fflush(stdout); in hammer_device()
[all …]
A Dlsgpio.c88 fprintf(stdout, field_format, "both-edges"); in print_attributes()
90 fprintf(stdout, field_format, "rising-edge"); in print_attributes()
92 fprintf(stdout, field_format, "falling-edge"); in print_attributes()
96 fprintf(stdout, ", debounce_period=%dusec", in print_attributes()
145 fprintf(stdout, " \"%s\"", linfo.name); in list_device()
147 fprintf(stdout, " unnamed"); in list_device()
149 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device()
151 fprintf(stdout, " unused"); in list_device()
153 fprintf(stdout, " ["); in list_device()
155 fprintf(stdout, "]"); in list_device()
[all …]
A Dgpio-event-mon.c73 fprintf(stdout, "Initial line value: %d\n", in monitor_device()
76 fprintf(stdout, "Monitoring lines %d", lines[0]); in monitor_device()
78 fprintf(stdout, ", %d", lines[i]); in monitor_device()
79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device()
80 fprintf(stdout, "Initial line values: %d", in monitor_device()
83 fprintf(stdout, ", %d", in monitor_device()
85 fprintf(stdout, " and %d\n", in monitor_device()
115 fprintf(stdout, "rising edge"); in monitor_device()
118 fprintf(stdout, "falling edge"); in monitor_device()
121 fprintf(stdout, "unknown event"); in monitor_device()
[all …]
/linux/tools/bpf/bpftool/
A Dnetlink_dumper.h19 fprintf(stdout, "%s {", name); \
28 fprintf(stdout, "{"); \
36 fprintf(stdout, "}"); \
50 fprintf(stdout, "\n"); \
59 fprintf(stdout, fmt_str, name); \
68 fprintf(stdout, "%s", endstr); \
76 fprintf(stdout, fmt_str, val); \
84 fprintf(stdout, fmt_str, str); \
92 fprintf(stdout, "%s ", str); \
/linux/tools/testing/selftests/prctl/
A Ddisable-tsc-test.c47 fflush(stdout); in sigsegv_cb()
54 fflush(stdout); in sigsegv_cb()
69 fflush(stdout); in main()
77 fflush(stdout); in main()
84 fflush(stdout); in main()
90 fflush(stdout); in main()
92 fflush(stdout); in main()
/linux/tools/testing/selftests/bpf/
A Dtest_progs.c105 if (stdout == env.stdout) in dump_test_log()
713 env.stdout = stdout; in stdio_hijack()
722 fflush(stdout); in stdio_hijack()
725 if (!stdout) { in stdio_hijack()
726 stdout = env.stdout; in stdio_hijack()
738 if (stdout == env.stdout) in stdio_restore()
741 fclose(stdout); in stdio_restore()
743 stdout = env.stdout; in stdio_restore()
826 if (env.stdout) in crash_handler()
1182 fflush(stdout); in server_main()
[all …]
A Dtest_progs.h75 FILE *stdout; member
132 fprintf(stdout, "%s:FAIL:%d ", __func__, __LINE__); \
133 fprintf(stdout, ##format); \
141 fprintf(stdout, "%s:FAIL:%s ", __func__, tag); \
142 fprintf(stdout, ##format); \
144 fprintf(stdout, "%s:PASS:%s %d nsec\n", \
156 fprintf(stdout, "%s:FAIL:%d\n", __func__, __LINE__); \
/linux/scripts/
A Dcheckkconfigsymbols.py123 COLOR = args.color and sys.stdout.isatty()
230 stdout = stdout.decode(errors='replace')
233 return stdout
247 stdout = execute(["git", "status", "--porcelain"])
248 for line in stdout:
256 stdout = execute(["git", "rev-parse", "HEAD"])
257 return stdout.strip('\n')
295 stdout = execute(["git", "ls-files"])
296 if len(stdout) > 0 and stdout[-1] == "\n":
297 stdout = stdout[:-1]
[all …]
/linux/tools/perf/scripts/python/
A Dcompaction-times.py202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
206 sys.stdout.write("total: %s\n" % chead.str())
249 sys.stdout.write(usage)
250 sys.stdout.write("\n")
251 sys.stdout.write("-h display this help\n")
252 sys.stdout.write("-p display by process\n")
253 sys.stdout.write("-pv display by process (verbose)\n")
254 sys.stdout.write("-t display stall times only\n")
255 sys.stdout.write("-m display stats for migration\n")
256 sys.stdout.write("-fs display stats for free scanner\n")
[all …]
/linux/Documentation/networking/device_drivers/atm/
A Dcxacru-cf.py39 sys.stdout.write("\n")
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")
/linux/Documentation/devicetree/bindings/
A Dchosen.txt31 stdout-path
35 with a stdout-path property under /chosen, as described in the Devicetree
40 stdout-path = "/serial@f00:115200";
66 Implementation note: Linux will look for the property "linux,stdout-path" or
67 on PowerPC "stdout" if "stdout-path" is not found. However, the
68 "linux,stdout-path" and "stdout" properties are deprecated. New platforms
69 should only use the "stdout-path" property.
/linux/tools/lib/perf/include/internal/
A Dtests.h34 fprintf(stdout, "- running %s...", __FILE__); \
42 fprintf(stdout, " FAILED (%d)\n", tests_failed); \
44 fprintf(stdout, "OK\n"); \
/linux/arch/powerpc/platforms/powermac/
A Dudbg_scc.c69 struct device_node *stdout = NULL, *escc = NULL, *macio = NULL; in udbg_scc_init() local
82 stdout = of_find_node_by_path(path); in udbg_scc_init()
84 if (ch == stdout) in udbg_scc_init()
156 of_node_put(stdout); in udbg_scc_init()
/linux/tools/memory-model/scripts/
A Dcheckghlitmus.sh51 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr
59 sh > $T/judge.stdout 2> $T/judge.stderr
65 grep '!!!' $T/judge.stdout
/linux/tools/testing/kunit/
A Dkunit_kernel.py92 stdout=subprocess.DEVNULL)
136 stdout=subprocess.PIPE,
156 stdout=subprocess.DEVNULL,
173 stdout=subprocess.PIPE,
326 assert process.stdout is not None # tell mypy it's set
342 for line in process.stdout:
348 output.write(process.stdout.read())
350 process.stdout.close()
/linux/tools/perf/
A Dbuiltin-buildid-list.c65 if (filename__fprintf_build_id(input_name, stdout) > 0) in perf_session__list_build_ids()
93 perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); in perf_session__list_build_ids()
121 return !(sysfs__fprintf_build_id(stdout) > 0); in cmd_buildid_list()
A Dbuiltin-top.c336 color_fprintf(stdout, PERF_COLOR_RED, in perf_top__print_sym_table()
352 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table()
361 fprintf(stdout, "\n%s: ", msg); in prompt_integer()
404 fprintf(stdout, "\n%s: ", msg); in perf_top__prompt_symbol()
441 fprintf(stdout, "\nMapped keys:\n"); in perf_top__print_mapped_keys()
452 fprintf(stdout, "\t[S] stop annotation.\n"); in perf_top__print_mapped_keys()
454 fprintf(stdout, in perf_top__print_mapped_keys()
457 fprintf(stdout, in perf_top__print_mapped_keys()
461 fprintf(stdout, "\t[qQ] quit.\n"); in perf_top__print_mapped_keys()
498 fflush(stdout); in perf_top__handle_keypress()
[all …]
A Dbuiltin-report.c554 fprintf(stdout, "\n\n"); in evlist__tty_browse_hists()
558 fprintf(stdout, "#\n# (%s)\n#\n", help); in evlist__tty_browse_hists()
568 branch_type_stat_display(stdout, &rep->brtype_stat); in evlist__tty_browse_hists()
952 return tasks_print(rep, stdout); in __cmd_report()
961 perf_session__fprintf(session, stdout); in __cmd_report()
964 perf_session__fprintf_dsos(session, stdout); in __cmd_report()
967 perf_session__fprintf_nr_events(session, stdout, in __cmd_report()
969 evlist__fprintf_nr_events(session->evlist, stdout, in __cmd_report()
1555 perf_session__fprintf_info(session, stdout, in cmd_report()
1571 stdout); in cmd_report()
[all …]
A Dperf-read-vdso.c24 written = fwrite(start, 1, size, stdout); in main()
31 if (fflush(stdout)) in main()
/linux/tools/perf/util/
A Ds390-sample-raw.c101 color_fprintf(stdout, color, " [%#08zx] Trailer:%c%c%c%c%c" in s390_cpumcfdg_dumptrail()
107 color_fprintf(stdout, color, "\t\t1:%lx 2:%lx 3:%lx TOD-Base:%#llx" in s390_cpumcfdg_dumptrail()
180 color_fprintf(stdout, color, " [%#08zx] Counterset:%d" in s390_cpumcfdg_dump()
185 color_fprintf(stdout, color, in s390_cpumcfdg_dump()
/linux/scripts/kconfig/tests/
A Dconftest.py71 stdout=subprocess.PIPE,
87 self.stdout = ps.stdout.read().decode()
109 print(self.stdout)
/linux/arch/powerpc/kernel/
A Dlegacy_serial.c395 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() local
406 stdout = of_find_node_by_path(path); in find_legacy_serial_ports()
407 if (stdout) in find_legacy_serial_ports()
408 DBG("stdout is %pOF\n", stdout); in find_legacy_serial_ports()
421 if (index >= 0 && np == stdout) in find_legacy_serial_ports()
434 if (index >= 0 && np == stdout) in find_legacy_serial_ports()
468 if (index >= 0 && np == stdout) in find_legacy_serial_ports()
/linux/tools/power/cpupower/bench/
A Dbenchmark.c17 if (config->output != stdout) { \
18 fprintf(stdout, "Progress: %02lu %%\r", \
20 fflush(stdout); \

Completed in 59 milliseconds

12345678910>>...46