Home
last modified time | relevance | path

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

12345678910>>...26

/linux-6.6.21/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-6.6.21/scripts/
Drust_is_available_test.py71 def generate_bindgen_libclang(cls, stderr): argument
72 return cls.generate_bindgen(cls.bindgen_default_bindgen_version_stdout, stderr)
120 self.assertEqual(result.stderr, b"")
127 self.assertNotEqual(result.stderr, b"")
132 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
137 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
141 result.stderr = result.stderr.decode()
147 self.assertIn("Environment variable 'RUSTC' is not set.", result.stderr)
148 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
152 self.assertIn("Environment variable 'BINDGEN' is not set.", result.stderr)
[all …]
Dspdxcheck.py341 sys.stderr.write('stdin input "-" must be the only path argument\n')
357 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt))
359 sys.stderr.write('%s\n' %se.txt)
363 sys.stderr.write('FAIL: %s\n' %ex)
364 sys.stderr.write('%s\n' %traceback.format_exc())
373 sys.stderr.write('FAIL: Reading exclude file %s: %s\n' %(fname, ex))
389 sys.stderr.write('path %s does not exist\n' %p)
403 sys.stderr.write('\n')
404 sys.stderr.write('License files: %12d\n' %spdx.license_files)
405 sys.stderr.write('Exception files: %12d\n' %spdx.exception_files)
[all …]
/linux-6.6.21/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-6.6.21/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.c175 fprintf(stderr, "bpf verifier:\n%s\n", log_buf); in sock_fanout_set_ebpf()
242 fprintf(stderr, "info: count=%d,%d, expect=%d,%d\n", in sock_fanout_read()
247 fprintf(stderr, "warning: incorrect queue lengths\n"); in sock_fanout_read()
257 fprintf(stderr, "test: control single socket\n"); in test_control_single()
261 fprintf(stderr, "ERROR: opened socket with dual rollover\n"); in test_control_single()
271 fprintf(stderr, "test: control multiple sockets\n"); in test_control_group()
275 fprintf(stderr, "ERROR: failed to open HASH socket\n"); in test_control_group()
280 fprintf(stderr, "ERROR: joined group with wrong flag defrag\n"); in test_control_group()
285 fprintf(stderr, "ERROR: joined group with wrong flag ro\n"); in test_control_group()
289 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: %" PRId64 " us expected between %d and %d\n", in validate_timestamp()
173 fprintf(stderr, "%" PRId64 " ns", ts_delta); in __print_ts_delta_formatted()
175 fprintf(stderr, "%" PRId64 " 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-6.6.21/tools/testing/selftests/bpf/
Dxdp_synproxy.c39 fprintf(stderr, "Error: bpf_tc_hook_destroy: %s\n", strerror(-err)); in cleanup()
40 fprintf(stderr, "Failed to destroy the TC hook\n"); in cleanup()
48 fprintf(stderr, "Error: bpf_prog_get_fd_by_id: %s\n", strerror(-prog_fd)); in cleanup()
51 fprintf(stderr, "Error: bpf_set_link_xdp_fd: %s\n", strerror(-err)); in cleanup()
52 fprintf(stderr, "Failed to detach XDP program\n"); in cleanup()
60 fprintf(stderr, "Error: bpf_set_link_xdp_fd_opts: %s\n", strerror(-err)); in cleanup()
63 fprintf(stderr, "Failed to detach XDP program\n"); in cleanup()
73 …fprintf(stderr, "Usage: %s [--iface <iface>|--prog <prog_id>] [--mss4 <mss ipv4> --mss6 <mss ipv6>… in usage()
202 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
208 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
[all …]
/linux-6.6.21/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-6.6.21/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_rcu_tasks_trace.c41 fprintf(stderr, "invalid nr_procs\n"); in parse_arg()
49 fprintf(stderr, "invalid kthread_pid\n"); in parse_arg()
72 fprintf(stderr, "benchmark doesn't support multi-producer!\n"); in validate()
76 fprintf(stderr, "benchmark doesn't support consumer!\n"); in validate()
81 fprintf(stderr, "benchmark supports up to %u sleeper procs!\n", in validate()
99 fprintf(stderr, "couldn't open %s, exiting\n", procfs_path); in kthread_pid_ticks()
103 fprintf(stderr, "fscanf of %s failed, exiting\n", procfs_path); in kthread_pid_ticks()
138 fprintf(stderr, "Error forking sleeper proc %u of %u, exiting\n", i, in local_storage_tasks_trace_setup()
146 fprintf(stderr, "prctl failed with err %d, exiting\n", errno); in local_storage_tasks_trace_setup()
151 fprintf(stderr, "Runner died while spinning up procs, exiting\n"); in local_storage_tasks_trace_setup()
[all …]
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 needs one 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-6.6.21/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-6.6.21/samples/landlock/
Dsandboxer.c97 fprintf(stderr, "Missing environment variable %s\n", env_var); in populate_ruleset()
117 fprintf(stderr, "Failed to open \"%s\": %s\n", in populate_ruleset()
130 fprintf(stderr, in populate_ruleset()
183 fprintf(stderr, in main()
186 fprintf(stderr, in main()
188 fprintf(stderr, "Environment variables containing paths, " in main()
190 fprintf(stderr, in main()
193 fprintf(stderr, in main()
196 fprintf(stderr, in main()
202 fprintf(stderr, in main()
[all …]
/linux-6.6.21/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-6.6.21/tools/testing/selftests/arm64/signal/testcases/
Dssve_za_regs.c49 fprintf(stderr, "Only %d VL supported\n", nvls); in sme_get_vls()
77 fprintf(stderr, "Testing VL %d\n", vl); in do_one_sme_vl()
81 fprintf(stderr, "Failed to set VL, got %d\n", ret); in do_one_sme_vl()
96 fprintf(stderr, "No SVE context\n"); in do_one_sme_vl()
102 fprintf(stderr, "Got SSVE VL %d, expected %d\n", ssve->vl, vl); in do_one_sme_vl()
107 fprintf(stderr, "SVE_SIG_FLAG_SM not set in SVE record\n"); in do_one_sme_vl()
111 fprintf(stderr, "Got expected SSVE size %u and VL %d\n", in do_one_sme_vl()
117 fprintf(stderr, "No ZA context\n"); in do_one_sme_vl()
123 fprintf(stderr, "Got ZA VL %d, expected %d\n", za->vl, vl); in do_one_sme_vl()
127 fprintf(stderr, "Got expected ZA size %u and VL %d\n", in do_one_sme_vl()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c69 fprintf(stderr, "==>> completed. SKIP.\n"); in default_result()
71 fprintf(stderr, "==>> completed. PASS(1)\n"); in default_result()
100 fprintf(stderr, in handle_signal_unsupported()
103 fprintf(stderr, in handle_signal_unsupported()
130 fprintf(stderr, in handle_signal_ok()
207 fprintf(stderr, in handle_signal_copyctx()
226 fprintf(stderr, in handle_signal_copyctx()
237 fprintf(stderr, "Handled SIG_UNSUPP\n"); in default_handler()
240 fprintf(stderr, "Handled SIG_TRIG\n"); in default_handler()
243 fprintf(stderr, "Handled SIG_OK\n"); in default_handler()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c109 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage()
112 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
113 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage()
114 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage()
118 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage()
119 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage()
121 fprintf(stderr, "\t-j -- add additional sleep at connection start and tear down " in die_usage()
123 fprintf(stderr, "\t-l -- listens mode, accepts incoming connection\n"); in die_usage()
124 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n"); in die_usage()
125 fprintf(stderr, "\t-M mark -- set socket packet mark\n"); in die_usage()
[all …]
/linux-6.6.21/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-6.6.21/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()
87 fprintf(stderr, "%4.4s: Warning: wrong checksum in table\n", in ap_is_valid_checksum()
211 fprintf(stderr, in ap_dump_all_tables()
216 fprintf(stderr, in ap_dump_all_tables()
260 fprintf(stderr, "%s: Could not convert to a physical address\n", in ap_dump_table_by_address()
268 fprintf(stderr, "Could not get table at 0x%8.8X%8.8X, %s\n", in ap_dump_table_by_address()
302 fprintf(stderr, in ap_dump_table_by_name()
334 fprintf(stderr, in ap_dump_table_by_name()
379 fprintf(stderr, in ap_dump_table_from_file()
[all …]
/linux-6.6.21/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 …]

12345678910>>...26