Home
last modified time | relevance | path

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

12345678

/tools/pci/
Dpcitest.c55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test()
57 fprintf(stdout, "TEST FAILED\n"); in run_test()
59 fprintf(stdout, "%s\n", result[ret]); in run_test()
64 fprintf(stdout, "SET IRQ TYPE TO %s:\t\t", irq[test->irqtype]); in run_test()
66 fprintf(stdout, "FAILED\n"); in run_test()
68 fprintf(stdout, "%s\n", result[ret]); in run_test()
73 fprintf(stdout, "GET IRQ TYPE:\t\t"); 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()
[all …]
/tools/gpio/
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()
61 fprintf(stdout, "] on %s, initial states: [", device_name); in hammer_device()
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); 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()
92 fprintf(stdout, "%d: %d", lines[i], in hammer_device()
[all …]
Dlsgpio.c81 fprintf(stdout, field_format, flagnames[i].name); in print_attributes()
88 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()
127 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n", in list_device()
143 fprintf(stdout, "\tline %2d:", linfo.offset); in list_device()
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()
[all …]
Dgpio-event-mon.c72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device()
73 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()
111 fprintf(stdout, "GPIO EVENT at %" PRIu64 " on line %d (%d|%d) ", in monitor_device()
116 fprintf(stdout, "rising edge"); in monitor_device()
[all …]
/tools/bpf/bpftool/
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); \
/tools/testing/selftests/net/
Ddevlink_port_split.py32 p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
33 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']
82 stdout, stderr = run_command(cmd)
84 values = list(json.loads(stdout)['port'].values())[0]
100 stdout, stderr = run_command(cmd)
[all …]
/tools/testing/selftests/prctl/
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()
/tools/testing/selftests/bpf/
Dtest_progs.c97 if (stdout == env.stdout) in dump_test_log()
100 fflush(stdout); /* exports env.log_buf & env.log_cnt */ in dump_test_log()
105 fprintf(env.stdout, "%s", env.log_buf); in dump_test_log()
107 fprintf(env.stdout, "\n"); in dump_test_log()
111 fseeko(stdout, 0, SEEK_SET); /* rewind */ in dump_test_log()
175 fprintf(env.stdout, "#%d/%d %s/%s:%s\n", in test__end_subtest()
273 fprintf(stdout, "%s:FAIL:map '%s' not found\n", test, name); in bpf_find_map()
411 fprintf(stdout, "bpf_testmod.ko is already unloaded.\n"); in unload_bpf_testmod()
418 fprintf(stdout, "Successfully unloaded bpf_testmod.ko.\n"); in unload_bpf_testmod()
429 fprintf(stdout, "Loading bpf_testmod.ko...\n"); in load_bpf_testmod()
[all …]
Dtest_progs.h73 FILE *stdout; member
98 fprintf(stdout, "%s:FAIL:%d ", __func__, __LINE__); \
99 fprintf(stdout, ##format); \
107 fprintf(stdout, "%s:FAIL:%s ", __func__, tag); \
108 fprintf(stdout, ##format); \
110 fprintf(stdout, "%s:PASS:%s %d nsec\n", \
122 fprintf(stdout, "%s:FAIL:%d\n", __func__, __LINE__); \
/tools/lib/perf/include/internal/
Dtests.h34 fprintf(stdout, "- running %s...", __FILE__); \
42 fprintf(stdout, " FAILED (%d)\n", tests_failed); \
44 fprintf(stdout, "OK\n"); \
/tools/perf/scripts/python/
Dcompaction-times.py192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 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")
[all …]
/tools/perf/
Dperf-read-vdso.c24 written = fwrite(start, 1, size, stdout); in main()
31 if (fflush(stdout)) in main()
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()
Dbuiltin-version.c35 color_fprintf(stdout, PERF_COLOR_RED, "%-3s", status); in on_off_print()
37 color_fprintf(stdout, PERF_COLOR_GREEN, "%-3s", status); in on_off_print()
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()
442 fprintf(stdout, "\t[d] display refresh delay. \t(%d)\n", top->delay_secs); in perf_top__print_mapped_keys()
443 fprintf(stdout, "\t[e] display entries (lines). \t(%d)\n", top->print_entries); in perf_top__print_mapped_keys()
446 …fprintf(stdout, "\t[E] active event counter. \t(%s)\n", evsel__name(top->sym_evse… in perf_top__print_mapped_keys()
448 fprintf(stdout, "\t[f] profile display filter (count). \t(%d)\n", top->count_filter); in perf_top__print_mapped_keys()
450 …fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", top->annotation_opts.mi… in perf_top__print_mapped_keys()
[all …]
/tools/memory-model/scripts/
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
/tools/testing/selftests/timers/
Dleapcrash.c65 setbuf(stdout, NULL); in main()
104 fflush(stdout); in main()
Dset-tz.c68 fflush(stdout); in main()
80 fflush(stdout); in main()
/tools/perf/util/
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()
/tools/power/cpupower/bench/
Dbenchmark.c17 if (config->output != stdout) { \
18 fprintf(stdout, "Progress: %02lu %%\r", \
20 fflush(stdout); \
/tools/testing/selftests/tc-testing/plugin-lib/
DbuildebpfPlugin.py55 stdout=subprocess.PIPE,
65 proc.stdout.close()
/tools/build/feature/
Dtest-disassembler-init-styled.c9 init_disassemble_info(&info, stdout, in main()
/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c69 fprintf(stdout, "==>> completed. FAIL(0)\n"); in default_result()
136 fprintf(stdout, in handle_signal_ok()
147 fprintf(stdout, in handle_signal_ok()
246 fprintf(stdout, in test_init()
/tools/thermal/tmon/
Dtmon.c74 fflush(stdout); in tmon_cleanup()
105 fflush(stdout); in tmon_sig_handler()
109 fflush(stdout); in tmon_sig_handler()
113 fflush(stdout); in tmon_sig_handler()
/tools/testing/selftests/exec/
Dbinfmt_script76 stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
77 stdout = proc.communicate()[0]
79 if proc.returncode == 0 and b'Executed interpreter' in stdout:

12345678