/tools/pci/ |
D | pcitest.c | 55 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/ |
D | gpio-hammer.c | 55 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 …]
|
D | lsgpio.c | 81 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 …]
|
D | gpio-event-mon.c | 72 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/ |
D | netlink_dumper.h | 19 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/ |
D | devlink_port_split.py | 32 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/ |
D | disable-tsc-test.c | 47 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/ |
D | test_progs.c | 97 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 …]
|
D | test_progs.h | 73 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/ |
D | tests.h | 34 fprintf(stdout, "- running %s...", __FILE__); \ 42 fprintf(stdout, " FAILED (%d)\n", tests_failed); \ 44 fprintf(stdout, "OK\n"); \
|
/tools/perf/scripts/python/ |
D | compaction-times.py | 192 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/ |
D | perf-read-vdso.c | 24 written = fwrite(start, 1, size, stdout); in main() 31 if (fflush(stdout)) in main()
|
D | builtin-buildid-list.c | 65 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()
|
D | builtin-version.c | 35 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()
|
D | builtin-top.c | 336 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/ |
D | checkghlitmus.sh | 51 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/ |
D | leapcrash.c | 65 setbuf(stdout, NULL); in main() 104 fflush(stdout); in main()
|
D | set-tz.c | 68 fflush(stdout); in main() 80 fflush(stdout); in main()
|
/tools/perf/util/ |
D | s390-sample-raw.c | 101 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/ |
D | benchmark.c | 17 if (config->output != stdout) { \ 18 fprintf(stdout, "Progress: %02lu %%\r", \ 20 fflush(stdout); \
|
/tools/testing/selftests/tc-testing/plugin-lib/ |
D | buildebpfPlugin.py | 55 stdout=subprocess.PIPE, 65 proc.stdout.close()
|
/tools/build/feature/ |
D | test-disassembler-init-styled.c | 9 init_disassemble_info(&info, stdout, in main()
|
/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 69 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/ |
D | tmon.c | 74 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/ |
D | binfmt_script | 76 stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 77 stdout = proc.communicate()[0] 79 if proc.returncode == 0 and b'Executed interpreter' in stdout:
|