Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/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()
36 if stderr != "" and not should_fail:
39 print(stderr)
40 return stdout, stderr
58 stdout, stderr = run_command(cmd)
59 assert stderr == ""
82 stdout, stderr = run_command(cmd)
83 assert stderr == ""
[all …]
Dpsock_fanout.c174 fprintf(stderr, "bpf verifier:\n%s\n", log_buf); in sock_fanout_set_ebpf()
241 fprintf(stderr, "info: count=%d,%d, expect=%d,%d\n", in sock_fanout_read()
246 fprintf(stderr, "warning: incorrect queue lengths\n"); in sock_fanout_read()
256 fprintf(stderr, "test: control single socket\n"); in test_control_single()
260 fprintf(stderr, "ERROR: opened socket with dual rollover\n"); in test_control_single()
270 fprintf(stderr, "test: control multiple sockets\n"); in test_control_group()
274 fprintf(stderr, "ERROR: failed to open HASH socket\n"); in test_control_group()
279 fprintf(stderr, "ERROR: joined group with wrong flag defrag\n"); in test_control_group()
284 fprintf(stderr, "ERROR: joined group with wrong flag ro\n"); in test_control_group()
288 fprintf(stderr, "ERROR: joined group with wrong mode\n"); in test_control_group()
[all …]
/tools/testing/selftests/timers/
Drtcpie.c50 fprintf(stderr, "usage: rtctest [rtcdev] [d]\n"); in main()
66 fprintf(stderr, "\nNo periodic IRQ support\n"); in main()
72 fprintf(stderr, "\nPeriodic IRQ rate is %ldHz.\n", old_pie_rate); in main()
74 fprintf(stderr, "Counting 20 interrupts at:"); in main()
75 fflush(stderr); in main()
84 fprintf(stderr, in main()
92 fprintf(stderr, "\n%ldHz:\t", tmp); in main()
93 fflush(stderr); in main()
114 fprintf(stderr, "\nPIE delta error: %ld.%06ld should be close to 0.%06ld\n", in main()
121 fprintf(stderr, " %d",i); in main()
[all …]
/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c32 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
35 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
39 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
45 fprintf(stderr, "error: mount tmpfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: open 1, errno %d\n", errno); in main()
55 fprintf(stderr, "error: linkat, errno %d\n", errno); in main()
62 fprintf(stderr, "error: open 2, errno %d\n", errno); in main()
/tools/testing/selftests/exec/
Drecursion-depth.c31 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
34 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
38 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
43 fprintf(stderr, "error: mount ramfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: creat, errno %d\n", errno); in main()
56 fprintf(stderr, "error: write, errno %d\n", errno); in main()
65 fprintf(stderr, "error: execve, rv %d, errno %d\n", rv, errno); in main()
Dload_address.c46 fprintf(stderr, "FAILED\n"); in main()
51 fprintf(stderr, "No alignment found\n"); in main()
54 fprintf(stderr, "Alignment is not a power of 2\n"); in main()
62 fprintf(stderr, "FAILED\n"); in main()
66 fprintf(stderr, "PASS\n"); in main()
/tools/testing/selftests/filesystems/
Ddevpts_pts.c107 fprintf(stderr, "Failed to open \"%s\": %s\n", ptmx, in do_tiocgptpeer()
118 fprintf(stderr, "Failed to unlock terminal\n"); in do_tiocgptpeer()
127 fprintf(stderr, "TIOCGPTPEER is not supported. " in do_tiocgptpeer()
131 fprintf(stderr, in do_tiocgptpeer()
147 fprintf(stderr, "Failed to setup terminal\n"); in do_tiocgptpeer()
153 fprintf(stderr, "Failed to retrieve pathname of pts " in do_tiocgptpeer()
160 fprintf(stderr, "Received invalid contents for " in do_tiocgptpeer()
166 fprintf(stderr, "Contents of \"/proc/<pid>/fd/%d\" " in do_tiocgptpeer()
196 fprintf(stderr, "Failed to unmount \"/dev/pts\": %s\n", in verify_non_standard_devpts_mount()
205 fprintf(stderr, "Failed to create temporary mountpoint: %s\n", in verify_non_standard_devpts_mount()
[all …]
/tools/perf/ui/gtk/
Dutil.c38 fprintf(stderr, "Error:\n"); in perf_gtk__error()
39 vfprintf(stderr, format, args); in perf_gtk__error()
40 fprintf(stderr, "\n"); in perf_gtk__error()
63 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_info_bar()
64 vfprintf(stderr, format, args); in perf_gtk__warning_info_bar()
65 fprintf(stderr, "\n"); in perf_gtk__warning_info_bar()
84 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_statusbar()
85 vfprintf(stderr, format, args); in perf_gtk__warning_statusbar()
86 fprintf(stderr, "\n"); in perf_gtk__warning_statusbar()
/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c64 fprintf(stderr, "==>> completed. SKIP.\n"); in default_result()
66 fprintf(stderr, "==>> completed. PASS(1)\n"); in default_result()
95 fprintf(stderr, in handle_signal_unsupported()
98 fprintf(stderr, in handle_signal_unsupported()
125 fprintf(stderr, in handle_signal_ok()
171 fprintf(stderr, in handle_signal_copyctx()
181 fprintf(stderr, "Handled SIG_UNSUPP\n"); in default_handler()
184 fprintf(stderr, "Handled SIG_TRIG\n"); in default_handler()
187 fprintf(stderr, "Handled SIG_OK\n"); in default_handler()
190 fprintf(stderr, "Handled SIG_COPYCTX\n"); in default_handler()
[all …]
/tools/testing/selftests/ia64/
Daliasing-test.c91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
93 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
95 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
182 fprintf(stderr, "PASS: %s read %d bytes\n", path2, rc); in scan_rom()
184 fprintf(stderr, "PASS: %s not readable\n", path2); in scan_rom()
211 fprintf(stderr, "PASS: /dev/mem 0x0-0xa0000 is readable\n"); in main()
213 fprintf(stderr, "FAIL: /dev/mem 0x0-0xa0000 not accessible\n"); in main()
223 fprintf(stderr, "PASS: /dev/mem 0xa0000-0xc0000 is mappable\n"); in main()
225 fprintf(stderr, "FAIL: /dev/mem 0xa0000-0xc0000 not accessible\n"); in main()
228 fprintf(stderr, "PASS: /dev/mem 0xc0000-0x100000 is readable\n"); in main()
[all …]
/tools/power/acpi/tools/acpidump/
Dapfiles.c35 fprintf(stderr, in ap_is_existing_file()
79 fprintf(stderr, "Could not open output file: %s\n", pathname); in ap_open_output_file()
140 fprintf(stderr, in ap_write_to_binary_file()
150 fprintf(stderr, "Could not open output file: %s\n", filename); in ap_write_to_binary_file()
156 fprintf(stderr, "Error writing binary output file: %s\n", in ap_write_to_binary_file()
191 fprintf(stderr, "Could not open input file: %s\n", pathname); in ap_get_table_from_file()
199 fprintf(stderr, in ap_get_table_from_file()
208 fprintf(stderr, in ap_get_table_from_file()
218 fprintf(stderr, "Could not read input file: %s\n", pathname); in ap_get_table_from_file()
Dapdump.c38 fprintf(stderr, in ap_is_valid_header()
47 fprintf(stderr, "Table length (0x%8.8X) is invalid\n", in ap_is_valid_header()
85 fprintf(stderr, "%4.4s: Warning: wrong checksum in table\n", in ap_is_valid_checksum()
209 fprintf(stderr, in ap_dump_all_tables()
214 fprintf(stderr, in ap_dump_all_tables()
258 fprintf(stderr, "%s: Could not convert to a physical address\n", in ap_dump_table_by_address()
266 fprintf(stderr, "Could not get table at 0x%8.8X%8.8X, %s\n", in ap_dump_table_by_address()
300 fprintf(stderr, in ap_dump_table_by_name()
332 fprintf(stderr, in ap_dump_table_by_name()
377 fprintf(stderr, in ap_dump_table_from_file()
[all …]
Dapmain.c109 fprintf(stderr, "Too many table options (max %d)\n", in ap_insert_action()
155 fprintf(stderr, in ap_do_options()
180 fprintf(stderr, in ap_do_options()
206 fprintf(stderr, in ap_do_options()
212 fprintf(stderr, in ap_do_options()
228 fprintf(stderr, ACPI_COMMON_SIGNON(AP_UTILITY_NAME)); in ap_do_options()
340 fprintf(stderr, in main()
357 fprintf(stderr, in main()
/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c120 NXPRT(fprintf(stderr, "%d: %s addr %p len %x\n", __LINE__, addr, in nx_append_dde()
186 NXPRT(fprintf(stderr, "%s dde_count %d request len ", __func__, in nx_touch_pages_dde()
188 NXPRT(fprintf(stderr, "0x%lx\n", buf_sz)); in nx_touch_pages_dde()
195 NXPRT(fprintf(stderr, "touch direct ddebc 0x%x ddead %p\n", in nx_touch_pages_dde()
223 NXPRT(fprintf(stderr, "touch loop len 0x%x ddead %p total ", in nx_touch_pages_dde()
225 NXPRT(fprintf(stderr, "0x%lx\n", total)); in nx_touch_pages_dde()
231 NXPRT(fprintf(stderr, "touch loop break len 0x%x ", in nx_touch_pages_dde()
233 NXPRT(fprintf(stderr, "ddead %p\n", (void *)buf_addr)); in nx_touch_pages_dde()
305 fprintf(stderr, "usage: %s <fname> or stdin\n", argv[0]); in decompress_file()
306 fprintf(stderr, " writes to stdout or <fname>.nx.gunzip\n"); in decompress_file()
[all …]
Dgzip_vas.c59 fprintf(stderr, " open device name %s\n", devname); in open_device_nodes()
68 fprintf(stderr, "ioctl() n %d, error %d\n", rc, errno); in open_device_nodes()
75 fprintf(stderr, "mmap() failed, errno %d\n", errno); in open_device_nodes()
96 fprintf(stderr, " NX_FUNC_COMP_GZIP not found\n"); in nx_function_begin()
104 fprintf(stderr, " No memory\n"); in nx_function_begin()
112 fprintf(stderr, " open_device_nodes failed\n"); in nx_function_begin()
126 fprintf(stderr, "munmap() failed, errno %d\n", errno); in nx_function_end()
185 fprintf(stderr, "CSB still not valid after %d polls.\n", in nx_wait_for_csb()
209 NXPRT(fprintf(stderr, "Paste attempt %d/%d returns 0x%x\n", in nxu_run_job()
277 fprintf(stderr, "%d: Got signal %d si_code %d, si_addr %p\n", getpid(), in nxu_sigsegv_handler()
[all …]
/tools/iio/
Diio_generic_buffer.c226 fprintf(stderr, "Enabling/disabling channels: can't open %s\n", in enable_disable_all_channels()
240 fprintf(stderr, "Failed to enable/disable %s\n", in enable_disable_all_channels()
255 fprintf(stderr, "Usage: generic_buffer [options]...\n" in print_usage()
289 fprintf(stderr, "Failed to disable trigger: %s\n", in cleanup()
298 fprintf(stderr, "Failed to disable buffer: %s\n", in cleanup()
306 fprintf(stderr, "Failed to disable all channels\n"); in cleanup()
313 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler()
456 fprintf(stderr, "Device not set\n"); in main()
461 fprintf(stderr, "Only one of --device-num or --device-name needs to be set\n"); in main()
468 fprintf(stderr, "Failed to find the %s\n", device_name); in main()
[all …]
/tools/testing/selftests/uevent/
Duevent_filtering.c95 fprintf(stderr, "%s - Failed to open uevent socket\n", strerror(errno)); in uevent_listener()
102 fprintf(stderr, "%s - Failed to set socket options\n", strerror(errno)); in uevent_listener()
112 fprintf(stderr, "%s - Failed to bind socket\n", strerror(errno)); in uevent_listener()
118 fprintf(stderr, "%s - Failed to retrieve socket name\n", strerror(errno)); in uevent_listener()
123 fprintf(stderr, "Invalid socket address size\n"); in uevent_listener()
130 fprintf(stderr, in uevent_listener()
140 fprintf(stderr, in uevent_listener()
150 fprintf(stderr, "Failed to synchronize with parent process\n"); in uevent_listener()
160 fprintf(stderr, "%s - Failed to receive uevent\n", strerror(errno)); in uevent_listener()
174 fprintf(stderr, "Received unexpected uevent:\n"); in uevent_listener()
[all …]
/tools/testing/selftests/arm64/fp/
Dvlset.c72 fprintf(stderr, "%s: %s: %s\n", in parse_options()
87 fprintf(stderr, in parse_options()
107 fprintf(stderr, "%s: Invalid vector length %lu\n", in main()
113 fprintf(stderr, "%s: Scalable Vector Extension not present\n", in main()
121 stderr); in main()
130 fprintf(stderr, "%s: PR_SVE_SET_VL: %s\n", in main()
137 fprintf(stderr, "%s: PR_SVE_GET_VL: %s\n", in main()
151 fprintf(stderr, "%s: %s: %s\n", program_name, path, strerror(e)); in main()
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c82 fprintf(stderr, "Usage: mptcp_connect [-6] [-u] [-s MPTCP|TCP] [-p port] [-m mode]" in die_usage()
84 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
85 fprintf(stderr, "\t-t num -- set poll timeout to num\n"); in die_usage()
86 fprintf(stderr, "\t-T num -- set expected runtime to num ms\n"); in die_usage()
87 fprintf(stderr, "\t-S num -- set SO_SNDBUF to num\n"); in die_usage()
88 fprintf(stderr, "\t-R num -- set SO_RCVBUF to num\n"); in die_usage()
89 fprintf(stderr, "\t-p num -- use port num\n"); in die_usage()
90 fprintf(stderr, "\t-s [MPTCP|TCP] -- use mptcp(default) or tcp sockets\n"); in die_usage()
91 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n"); in die_usage()
92 fprintf(stderr, "\t-M mark -- set socket packet mark\n"); in die_usage()
[all …]
/tools/firmware/
Dihex2fw.c63 fprintf(stderr, "ihex2fw: Convert ihex files into binary " in usage()
65 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); in usage()
66 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage()
67 fprintf(stderr, " -s: sort records by address\n"); in usage()
68 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage()
103 fprintf(stderr, "Failed to open source file: %s", in main()
122 fprintf(stderr, "Failed to open destination file: %s", in main()
153 fprintf(stderr, "Can't find valid record at line %d\n", line); in process_ihex()
165 fprintf(stderr, "out of memory for records\n"); in process_ihex()
173 fprintf(stderr, "Not enough data to read complete record at line %d\n", in process_ihex()
[all …]
/tools/testing/selftests/bpf/
Dxdping.c64 fprintf(stderr, "Expected %d samples, got %d.\n", count, i); in get_stats()
75 fprintf(stderr, in show_usage()
112 fprintf(stderr, in main()
122 fprintf(stderr, "Could not get interface %s\n", in main()
153 fprintf(stderr, "-N or -S can be specified, not both.\n"); in main()
161 fprintf(stderr, "Could not resolve %s\n", argv[optind]); in main()
177 fprintf(stderr, "load of %s failed\n", filename); in main()
186 fprintf(stderr, "could not find xdping program"); in main()
194 fprintf(stderr, "Could not find ping map"); in main()
206 fprintf(stderr, "Link set xdp fd failed for %s\n", ifname); in main()
[all …]
/tools/bpf/runqslower/
Drunqslower.c58 fprintf(stderr, "Invalid PID: %s\n", arg); in parse_arg()
65 fprintf(stderr, in parse_arg()
72 fprintf(stderr, "Invalid delay (in us): %s\n", arg); in parse_arg()
88 return vfprintf(stderr, format, args); in libbpf_print_fn()
139 fprintf(stderr, "failed to increase rlimit: %d", err); in main()
145 fprintf(stderr, "failed to open and/or load BPF object\n"); in main()
155 fprintf(stderr, "failed to load BPF object: %d\n", err); in main()
161 fprintf(stderr, "failed to attach BPF programs\n"); in main()
174 fprintf(stderr, "failed to open perf buffer: %d\n", err); in main()
/tools/lib/perf/Documentation/examples/
Dcounting.c15 return vfprintf(stderr, fmt, ap); in libperf_print()
42 fprintf(stderr, "failed to create threads\n"); in main()
48 fprintf(stderr, "failed to create evlist\n"); in main()
53 fprintf(stderr, "failed to create evsel1\n"); in main()
59 fprintf(stderr, "failed to create evsel2\n"); in main()
66 fprintf(stderr, "failed to open evsel\n"); in main()
/tools/testing/selftests/arm64/signal/testcases/
Dsve_regs.c42 fprintf(stderr, "Only %d VL supported\n", nvls); in sve_get_vls()
62 fprintf(stderr, "Testing VL %d\n", vl); in do_one_sve_vl()
65 fprintf(stderr, "Failed to set VL\n"); in do_one_sve_vl()
80 fprintf(stderr, "No SVE context\n"); in do_one_sve_vl()
86 fprintf(stderr, "Got VL %d, expected %d\n", sve->vl, vl); in do_one_sve_vl()
91 fprintf(stderr, "Got expected size %u and VL %d\n", in do_one_sve_vl()
/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c61 fprintf(stderr, "Invalid batch count."); in parse_arg()
71 fprintf(stderr, "Invalid perfbuf sample rate."); in parse_arg()
99 fprintf(stderr, "rb-libbpf benchmark doesn't support multi-consumer!\n"); in bufs_validate()
104 fprintf(stderr, "back-to-back mode makes sense only for single-producer case!\n"); in bufs_validate()
143 fprintf(stderr, "failed to open skeleton\n"); in ringbuf_setup_skeleton()
157 fprintf(stderr, "failed to load skeleton\n"); in ringbuf_setup_skeleton()
179 fprintf(stderr, "failed to create ringbuf\n"); in ringbuf_libbpf_setup()
185 fprintf(stderr, "failed to attach program!\n"); in ringbuf_libbpf_setup()
198 fprintf(stderr, "ringbuf polling failed!\n"); in ringbuf_libbpf_consumer()
239 fprintf(stderr, "failed to create epoll fd: %d\n", -errno); in ringbuf_custom_setup()
[all …]

12345678910>>...15