Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v5.15/samples/timers/
Dhpet_example.c59 fprintf(stderr, "-hpet: requires command\n"); in main()
68 fprintf(stderr, "-hpet: executing %s\n", in main()
74 fprintf(stderr, "do_hpet: command %s not implemented\n", argv[0]); in main()
85 fprintf(stderr, "hpet_open_close: device-name\n"); in hpet_open_close()
91 fprintf(stderr, "hpet_open_close: open failed\n"); in hpet_open_close()
105 fprintf(stderr, "hpet_info: device-name\n"); in hpet_info()
111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); in hpet_info()
116 fprintf(stderr, "hpet_info: failed to get info\n"); in hpet_info()
120 fprintf(stderr, "hpet_info: hi_irqfreq 0x%lx hi_flags 0x%lx ", in hpet_info()
122 fprintf(stderr, "hi_hpet %d hi_timer %d\n", in hpet_info()
[all …]
/Linux-v5.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 == ""
80 stdout, stderr = run_command(cmd)
81 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 …]
Dtxtimestamp.c146 fprintf(stderr, "ERROR: key %d, expected %d\n", in validate_key()
164 fprintf(stderr, "ERROR: %lu us expected between %d and %d\n", in validate_timestamp()
173 fprintf(stderr, "%lu ns", ts_delta); in __print_ts_delta_formatted()
175 fprintf(stderr, "%lu us", ts_delta / NSEC_PER_USEC); in __print_ts_delta_formatted()
187 fprintf(stderr, " %s: %lu s %lu ns (seq=%u, len=%u)", in __print_timestamp()
191 fprintf(stderr, " %s: %lu s %lu us (seq=%u, len=%u)", in __print_timestamp()
197 fprintf(stderr, " (USR +"); in __print_timestamp()
199 fprintf(stderr, ")"); in __print_timestamp()
202 fprintf(stderr, "\n"); in __print_timestamp()
248 fprintf(stderr, " %s: count=%d", name, te->count); in print_timing_event()
[all …]
/Linux-v5.15/samples/uhid/
Duhid-example.c165 fprintf(stderr, "Cannot write to uhid: %m\n"); in uhid_write()
168 fprintf(stderr, "Wrong size written to uhid: %zd != %zu\n", in uhid_write()
221 fprintf(stderr, "LED output report received with flags %x\n", in handle_output()
233 fprintf(stderr, "Read HUP on uhid-cdev\n"); in event()
236 fprintf(stderr, "Cannot read uhid-cdev: %m\n"); in event()
239 fprintf(stderr, "Invalid size read from uhid-dev: %zd != %zu\n", in event()
246 fprintf(stderr, "UHID_START from uhid-dev\n"); in event()
249 fprintf(stderr, "UHID_STOP from uhid-dev\n"); in event()
252 fprintf(stderr, "UHID_OPEN from uhid-dev\n"); in event()
255 fprintf(stderr, "UHID_CLOSE from uhid-dev\n"); in event()
[all …]
/Linux-v5.15/samples/bpf/
Dxdp_redirect_cpu_user.c100 fprintf(stderr, "Create CPU entry failed: %s\n", strerror(errno)); in create_cpu_entry()
109 fprintf(stderr, "Add to avail CPUs failed: %s\n", strerror(errno)); in create_cpu_entry()
116 fprintf(stderr, "Failed reading curr cpus_count: %s\n", in create_cpu_entry()
125 fprintf(stderr, "Failed write curr cpus_count: %s\n", in create_cpu_entry()
150 fprintf(stderr, "Failed marking CPU unavailable: %s\n", in mark_cpus_unavailable()
186 fprintf(stderr, "BPF program not specified for file %s\n", in set_cpumap_prog()
191 fprintf(stderr, "--redirect-%s specified but --redirect-%s not specified\n", in set_cpumap_prog()
200 fprintf(stderr, "Failed to bpf_prog_load_xattr: %s\n", in set_cpumap_prog()
208 fprintf(stderr, "Failed to bpf_object__load: %s\n", in set_cpumap_prog()
218 fprintf(stderr, "Failed to bpf_object__find_map_fd_by_name: %s\n", in set_cpumap_prog()
[all …]
Dxdpsock_ctrl_proc.c32 fprintf(stderr, "%s\n", str); in usage()
67 fprintf(stderr, "Incorrect fd = %d\n", fd); in send_xsks_map_fd()
91 fprintf(stderr, "Sendmsg failed with %s", strerror(errno)); in send_xsks_map_fd()
115 fprintf(stderr, "Unable to get ifindex for Interface %s. Reason:%s", in main()
122 fprintf(stderr, "Opening socket stream failed: %s", strerror(errno)); in main()
132 fprintf(stderr, "Binding to socket stream failed: %s", strerror(errno)); in main()
140 fprintf(stderr, "Setup of xdp program failed\n"); in main()
147 fprintf(stderr, "Error accepting connection: %s", strerror(errno)); in main()
153 fprintf(stderr, "Error %d sending xsks_map_fd\n", err); in main()
159 fprintf(stderr, "Error reading stream message"); in main()
[all …]
Dxdp_redirect_map_user.c108 fprintf(stderr, "Bad interface index or name\n"); in main()
115 fprintf(stderr, "Failed to xdp_redirect_map__open: %s\n", in main()
123 fprintf(stderr, "Failed to sample_init_pre_load: %s\n", strerror(-ret)); in main()
132 fprintf(stderr, "Failed to get interface %d mac address: %s\n", in main()
144 fprintf(stderr, "Failed to xdp_redirect_map__load: %s\n", in main()
152 fprintf(stderr, "Failed to initialize sample: %s\n", strerror(-ret)); in main()
164 fprintf(stderr, in main()
184 fprintf(stderr, "Failed to update devmap value: %s\n", in main()
192 fprintf(stderr, "Failed to if_indextoname for %d: %s\n", ifindex_in, in main()
198 fprintf(stderr, "Failed to if_indextoname for %d: %s\n", ifindex_out, in main()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c80 fprintf(stderr, "Usage: mptcp_connect [-6] [-u] [-s MPTCP|TCP] [-p port] [-m mode]" in die_usage()
82 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
83 fprintf(stderr, "\t-t num -- set poll timeout to num\n"); in die_usage()
84 fprintf(stderr, "\t-S num -- set SO_SNDBUF to num\n"); in die_usage()
85 fprintf(stderr, "\t-R num -- set SO_RCVBUF to num\n"); in die_usage()
86 fprintf(stderr, "\t-p num -- use port num\n"); in die_usage()
87 fprintf(stderr, "\t-s [MPTCP|TCP] -- use mptcp(default) or tcp sockets\n"); in die_usage()
88 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n"); in die_usage()
89 fprintf(stderr, "\t-M mark -- set socket packet mark\n"); in die_usage()
90 fprintf(stderr, "\t-u -- check mptcp ulp\n"); in die_usage()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/tools/iio/
Diio_generic_buffer.c215 fprintf(stderr, "Enabling/disabling channels: can't open %s\n", in enable_disable_all_channels()
229 fprintf(stderr, "Failed to enable/disable %s\n", in enable_disable_all_channels()
244 fprintf(stderr, "Usage: generic_buffer [options]...\n" in print_usage()
278 fprintf(stderr, "Failed to disable trigger: %s\n", in cleanup()
287 fprintf(stderr, "Failed to disable buffer: %s\n", in cleanup()
295 fprintf(stderr, "Failed to disable all channels\n"); in cleanup()
302 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler()
445 fprintf(stderr, "Device not set\n"); in main()
450 fprintf(stderr, "Only one of --device-num or --device-name needs to be set\n"); in main()
457 fprintf(stderr, "Failed to find the %s\n", device_name); in main()
[all …]
/Linux-v5.15/samples/landlock/
Dsandboxer.c92 fprintf(stderr, "Missing environment variable %s\n", env_var); in populate_ruleset()
113 fprintf(stderr, "Failed to open \"%s\": %s\n", in populate_ruleset()
127 fprintf(stderr, "Failed to update the ruleset with \"%s\": %s\n", in populate_ruleset()
169 fprintf(stderr, "usage: %s=\"...\" %s=\"...\" %s <cmd> [args]...\n\n", in main()
171 fprintf(stderr, "Launch a command in a restricted environment.\n\n"); in main()
172 fprintf(stderr, "Environment variables containing paths, " in main()
174 fprintf(stderr, "* %s: list of paths allowed to be used in a read-only way.\n", in main()
176 fprintf(stderr, "* %s: list of paths allowed to be used in a read-write way.\n", in main()
178 fprintf(stderr, "\nexample:\n" in main()
193 fprintf(stderr, "Hint: Landlock is not supported by the current kernel. " in main()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/tools/power/acpi/tools/acpidump/
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 …]
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()
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/tools/power/x86/intel-speed-select/
Disst-config.c265 fprintf(stderr, "Can't create file:%s\n", pathname); in store_cpu_topology()
269 fprintf(stderr, "Caching topology information\n"); in store_cpu_topology()
292 fprintf(stderr, "Can't write to:%s\n", pathname); in store_cpu_topology()
382 fprintf(stderr, "This system is not configured for CPU 0 online/offline\n"); in set_cpu_online_offline()
383 fprintf(stderr, "Ignoring online request for CPU 0 as this is already online\n"); in set_cpu_online_offline()
404 fprintf(stderr, "Forcing all CPUs online\n"); in force_all_cpus_online()
486 fprintf(stderr, "No valid CPU in the list\n"); in for_each_online_target_cpu_in_set()
508 fprintf(stderr, "Can't get max cpu number\n"); in set_max_cpu_num()
565 fprintf(stderr, "Failed to get package id, CPU %d may be offline\n", i); in set_cpu_present_cpu_mask()
753 fprintf(stderr, "Check presence of kernel modules: isst_if_mmio\n"); in isst_send_mmio_command()
[all …]

12345678910>>...22