Home
last modified time | relevance | path

Searched refs:ksft_print_msg (Results 1 - 25 of 125) sorted by relevance

12345

/kernel/linux/linux-6.6/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c29 ksft_print_msg( in print_cachestat()
43 ksft_print_msg("Unable to access urandom.\n"); in write_exactly()
50 ksft_print_msg("Unable to allocate data.\n"); in write_exactly()
62 ksft_print_msg("Unable to read from urandom.\n"); in write_exactly()
78 ksft_print_msg("Unable write random data to file.\n"); in write_exactly()
131 ksft_print_msg("Unable to create/open file.\n"); in test_cachestat()
135 ksft_print_msg("Create/open %s\n", filename); in test_cachestat()
140 ksft_print_msg("Unable to access urandom.\n"); in test_cachestat()
148 ksft_print_msg("Cachestat call returned %ld\n", syscall_ret); in test_cachestat()
151 ksft_print_msg("Cachesta in test_cachestat()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c38 ksft_print_msg( in child()
45 ksft_print_msg( in child()
51 ksft_print_msg( in child()
102 ksft_print_msg( in set_watchpoint()
106 ksft_print_msg( in set_watchpoint()
129 ksft_print_msg( in run_test()
134 ksft_print_msg( in run_test()
139 ksft_print_msg("child did not stop with SIGSTOP\n"); in run_test()
147 ksft_print_msg( in run_test()
156 ksft_print_msg( in run_test()
[all...]
H A Dstep_after_suspend_test.c31 ksft_print_msg("sched_setaffinity() failed: %s\n", in child()
37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", in child()
43 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); in child()
57 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test()
65 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test()
69 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test()
73 ksft_print_msg("child did not stop with SIGSTOP: %s\n", in run_test()
80 ksft_print_msg( in run_test()
85 ksft_print_msg("ptrace(PTRACE_SINGLESTEP) failed: %s\n", in run_test()
92 ksft_print_msg("waitpi in run_test()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c38 ksft_print_msg( in child()
45 ksft_print_msg( in child()
51 ksft_print_msg( in child()
102 ksft_print_msg( in set_watchpoint()
106 ksft_print_msg( in set_watchpoint()
129 ksft_print_msg( in run_test()
134 ksft_print_msg( in run_test()
139 ksft_print_msg("child did not stop with SIGSTOP\n"); in run_test()
147 ksft_print_msg( in run_test()
156 ksft_print_msg( in run_test()
[all...]
H A Dstep_after_suspend_test.c31 ksft_print_msg("sched_setaffinity() failed: %s\n", in child()
37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", in child()
43 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); in child()
57 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test()
65 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test()
69 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test()
73 ksft_print_msg("child did not stop with SIGSTOP: %s\n", in run_test()
80 ksft_print_msg( in run_test()
85 ksft_print_msg("ptrace(PTRACE_SINGLESTEP) failed: %s\n", in run_test()
92 ksft_print_msg("waitpi in run_test()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/filelock/
H A Dofdlocks.c45 ksft_print_msg("[INFO] opened fds %i %i\n", fd, fd2); in main()
53 ksft_print_msg in main()
56 ksft_print_msg("[FAIL] to set OFD read lock on first fd\n"); in main()
67 ksft_print_msg("[FAIL] read locks conflicted\n"); in main()
78 ksft_print_msg in main()
81 ksft_print_msg in main()
91 ksft_print_msg in main()
96 ksft_print_msg in main()
100 ksft_print_msg in main()
110 ksft_print_msg in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dza-fork.c33 ksft_print_msg("ZA state invalid in child\n"); in fork_test_c()
40 ksft_print_msg("fork() failed: %d\n", newpid); in fork_test_c()
47 ksft_print_msg("ZA state invalid in parent\n"); in fork_test_c()
55 ksft_print_msg("waitpid() failed: %d\n", errno); in fork_test_c()
59 ksft_print_msg("waitpid() returned wrong PID\n"); in fork_test_c()
64 ksft_print_msg("child did not exit\n"); in fork_test_c()
79 ksft_print_msg("PID: %d\n", getpid()); in main()
91 ksft_print_msg("SME not supported\n"); in main()
H A Dfp-stress.c155 ksft_print_msg("%s: read() failed: %s (%d)\n", in child_output_read()
180 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read()
215 ksft_print_msg("%s: %s<EOF>\n", child->name, child->output); in child_output()
246 ksft_print_msg("waitpid(%d) failed: %s (%d)\n", in child_cleanup()
257 ksft_print_msg("%s no output seen\n", child->name); in child_cleanup()
262 ksft_print_msg("%s exited with error code %d\n", in child_cleanup()
285 ksft_print_msg("SIGCHLD for unknown PID %d with status %d\n", in handle_child_signal()
297 ksft_print_msg("Got signal, exiting...\n"); in handle_exit_signal()
319 ksft_print_msg("Started %s\n", child->name); in start_fpsimd()
336 ksft_print_msg("Starte in start_sve()
[all...]
H A Dzt-ptrace.c134 ksft_print_msg("Failed to disable ZA\n"); in ptrace_za_disabled_read_zt()
141 ksft_print_msg("Failed to read ZT\n"); in ptrace_za_disabled_read_zt()
147 ksft_print_msg("zt[%d]: 0x%x != 0\n", i, zt[i]); in ptrace_za_disabled_read_zt()
167 ksft_print_msg("Failed to set ZT\n"); in ptrace_set_get_zt()
173 ksft_print_msg("Failed to read ZT\n"); in ptrace_set_get_zt()
179 ksft_print_msg("zt[%d]: 0x%x != 0x%x\n", i, in ptrace_set_get_zt()
206 ksft_print_msg("Failed to disable ZA\n"); in ptrace_enable_za_via_zt()
214 ksft_print_msg("Failed to set ZT\n"); in ptrace_enable_za_via_zt()
224 ksft_print_msg("VL changed from %d to %d\n", in ptrace_enable_za_via_zt()
233 ksft_print_msg("Z in ptrace_enable_za_via_zt()
[all...]
H A Dvec-syscfg.c76 ksft_print_msg("failed to parse integer from %s\n", what); in stdio_read_integer()
93 ksft_print_msg("pipe() failed: %d (%s)\n", in get_child_rdvl()
102 ksft_print_msg("fork() failed: %d (%s)\n", in get_child_rdvl()
135 ksft_print_msg("wait() failed: %d (%s)\n", in get_child_rdvl()
145 ksft_print_msg("child exited abnormally\n"); in get_child_rdvl()
151 ksft_print_msg("child returned error %d\n", in get_child_rdvl()
159 ksft_print_msg("failed to open child stdout\n"); in get_child_rdvl()
577 ksft_print_msg("%s prctl set failed for %d: %d (%s)\n", in prctl_set_all_vqs()
587 ksft_print_msg("Set %s VL %d but RDVL reports %d\n", in prctl_set_all_vqs()
601 ksft_print_msg(" in prctl_set_all_vqs()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A Dtest_execve.c104 ksft_print_msg("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns()
122 ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); in create_and_enter_ns()
189 ksft_print_msg("Child died\n"); in fork_wait()
192 ksft_print_msg("Child failed\n"); in fork_wait()
273 ksft_print_msg("[RUN]\tRoot => ep\n"); in do_tests()
277 ksft_print_msg("[RUN]\tNon-root => no caps\n"); in do_tests()
282 ksft_print_msg("Check cap_ambient manipulation rules\n"); in do_tests()
354 ksft_print_msg("[RUN]\tRoot +i => eip\n"); in do_tests()
358 ksft_print_msg("[RUN]\tNon-root +i => i\n"); in do_tests()
367 ksft_print_msg("[RU in do_tests()
[all...]
H A Dvalidate_cap.c58 ksft_print_msg("Wrong effective state%s\n", atsec); in main()
63 ksft_print_msg("Wrong permitted state%s\n", atsec); in main()
68 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main()
73 ksft_print_msg("Wrong ambient state%s\n", atsec); in main()
77 ksft_print_msg("%s: Capabilities after execve were correct\n", in main()
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/
H A Dtest_execve.c104 ksft_print_msg("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns()
122 ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); in create_and_enter_ns()
189 ksft_print_msg("Child died\n"); in fork_wait()
192 ksft_print_msg("Child failed\n"); in fork_wait()
273 ksft_print_msg("[RUN]\tRoot => ep\n"); in do_tests()
277 ksft_print_msg("[RUN]\tNon-root => no caps\n"); in do_tests()
282 ksft_print_msg("Check cap_ambient manipulation rules\n"); in do_tests()
354 ksft_print_msg("[RUN]\tRoot +i => eip\n"); in do_tests()
358 ksft_print_msg("[RUN]\tNon-root +i => i\n"); in do_tests()
367 ksft_print_msg("[RU in do_tests()
[all...]
H A Dvalidate_cap.c58 ksft_print_msg("Wrong effective state%s\n", atsec); in main()
63 ksft_print_msg("Wrong permitted state%s\n", atsec); in main()
68 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main()
73 ksft_print_msg("Wrong ambient state%s\n", atsec); in main()
77 ksft_print_msg("%s: Capabilities after execve were correct\n", in main()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c34 ksft_print_msg("INFO: SIGSEGV signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler()
41 ksft_print_msg("Got unexpected SEGV_MTEAERR at pc=$lx, fault addr=%lx\n", in mte_default_handler()
59 ksft_print_msg("Invalid MTE synchronous exception caught!\n"); in mte_default_handler()
63 ksft_print_msg("Unknown SIGSEGV exception caught!\n"); in mte_default_handler()
67 ksft_print_msg("INFO: SIGBUS signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler()
103 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_insert_tags()
115 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_clear_tags()
138 ksft_print_msg("FAIL: Invalid allocate request\n"); in __mte_allocate_memory_range()
153 ksft_print_msg("FAIL: mmap allocation\n"); in __mte_allocate_memory_range()
159 ksft_print_msg("FAI in __mte_allocate_memory_range()
[all...]
H A Dcheck_ksm_options.c33 ksft_print_msg("ERR: missing %s\n", str); in read_sysfs()
37 ksft_print_msg("ERR: parsing %s\n", str); in read_sysfs()
50 ksft_print_msg("ERR: missing %s\n", str); in write_sysfs()
92 ksft_print_msg("INFO: pages_shared=%lu pages_sharing=%lu\n", in mte_ksm_scan()
105 ksft_print_msg("ERR: Kernel KSM config not enabled\n"); in check_madvise_options()
118 ksft_print_msg("ERR: madvise failed to set MADV_UNMERGEABLE\n"); in check_madvise_options()
140 ksft_print_msg("ERR: Unable to get page size\n"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_test.c119 ksft_print_msg("waitpid WEXITSTATUS=%d\n", ret); in test_pidfd_send_signal_exited_fail()
219 ksft_print_msg("pid to recycle is %d\n", pid2); in test_pidfd_send_signal_recycled_pid_fail()
384 ksft_print_msg("Child Thread: starting. pid %d tid %ld ; and sleeping\n", in test_pidfd_poll_exec_thread()
386 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread()
390 ksft_print_msg("Child Thread: DONE. pid %d tid %ld\n", in test_pidfd_poll_exec_thread()
430 ksft_print_msg("Child (pidfd): starting. pid %d tid %ld\n", getpid(), in child_poll_exec_test()
450 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_exec()
456 ksft_print_msg("Parent: Waiting for Child (%d) to complete.\n", pid); in test_pidfd_poll_exec()
461 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_exec()
464 ksft_print_msg("Paren in test_pidfd_poll_exec()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/
H A Dmixer-test.c83 ksft_print_msg("Failed to get hctl for card %d: %s\n", in find_controls()
94 ksft_print_msg("Card %d - %s (%s)\n", card, in find_controls()
141 ksft_print_msg("%s getting info for %s\n", in find_controls()
175 ksft_print_msg("snd_card_next"); in find_controls()
200 ksft_print_msg("poll() failed for %s: %s (%d)\n", in wait_for_event()
212 ksft_print_msg("snd_ctl_poll_descriptors_revents() failed for %s: %d\n", in wait_for_event()
217 ksft_print_msg("snd_ctl_poll_descriptors_revents() reported POLLERR for %s\n", in wait_for_event()
223 ksft_print_msg("No POLLIN\n"); in wait_for_event()
229 ksft_print_msg("snd_ctl_read() failed for %s: %d\n", in wait_for_event()
241 ksft_print_msg("Even in wait_for_event()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_test.c218 ksft_print_msg("pid to recycle is %d\n", pid2); in test_pidfd_send_signal_recycled_pid_fail()
383 ksft_print_msg("Child Thread: starting. pid %d tid %ld ; and sleeping\n", in test_pidfd_poll_exec_thread()
385 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread()
389 ksft_print_msg("Child Thread: DONE. pid %d tid %ld\n", in test_pidfd_poll_exec_thread()
429 ksft_print_msg("Child (pidfd): starting. pid %d tid %ld\n", getpid(), in child_poll_exec_test()
447 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_exec()
453 ksft_print_msg("Parent: Waiting for Child (%d) to complete.\n", pid); in test_pidfd_poll_exec()
458 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_exec()
461 ksft_print_msg("Parent: Child process waited for.\n"); in test_pidfd_poll_exec()
468 ksft_print_msg("Tim in test_pidfd_poll_exec()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c34 ksft_print_msg("INFO: SIGSEGV signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler()
55 ksft_print_msg("Invalid MTE synchronous exception caught!\n"); in mte_default_handler()
59 ksft_print_msg("Unknown SIGSEGV exception caught!\n"); in mte_default_handler()
63 ksft_print_msg("INFO: SIGBUS signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler()
99 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_insert_tags()
111 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_clear_tags()
129 ksft_print_msg("FAIL: Invalid allocate request\n"); in __mte_allocate_memory_range()
146 ksft_print_msg("FAIL: mmap allocation\n"); in __mte_allocate_memory_range()
152 ksft_print_msg("FAIL: mprotect PROT_MTE property\n"); in __mte_allocate_memory_range()
179 ksft_print_msg("FAI in mte_allocate_file_memory()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c58 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid()
68 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid()
71 ksft_print_msg("[%d] Child is ready and waiting\n", in call_clone3_set_tid()
78 ksft_print_msg( in call_clone3_set_tid()
86 ksft_print_msg( in call_clone3_set_tid()
99 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid()
102 ksft_print_msg( in call_clone3_set_tid()
109 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3_set_tid()
128 ksft_print_msg( in test_clone3_set_tid()
133 ksft_print_msg( in test_clone3_set_tid()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c58 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid()
68 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid()
71 ksft_print_msg("[%d] Child is ready and waiting\n", in call_clone3_set_tid()
78 ksft_print_msg( in call_clone3_set_tid()
86 ksft_print_msg( in call_clone3_set_tid()
99 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid()
102 ksft_print_msg( in call_clone3_set_tid()
109 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3_set_tid()
128 ksft_print_msg( in test_clone3_set_tid()
133 ksft_print_msg( in test_clone3_set_tid()
[all...]
H A Dclone3.c83 ksft_print_msg("%s - Failed to create new process\n", in call_clone3()
89 ksft_print_msg("I am the child, my PID is %d\n", getpid()); in call_clone3()
93 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3()
97 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3()
111 ksft_print_msg( in test_clone3()
115 ksft_print_msg("[%d] clone3() with flags says: %d expected %d\n", in test_clone3()
202 ksft_print_msg("Time namespaces are not supported\n"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrl_tests.c45 ksft_print_msg("Can not get vendor info...\n"); in get_vendor()
76 ksft_print_msg("Failed to register signal handler\n"); in test_prepare()
83 ksft_print_msg("Failed to mount resctrl FS\n"); in test_prepare()
99 ksft_print_msg("Starting MBM BW change ...\n"); in run_mbm_test()
116 ksft_print_msg("Intel MBM may be inaccurate when Sub-NUMA Clustering is enabled. Check BIOS configuration.\n"); in run_mbm_test()
126 ksft_print_msg("Starting MBA Schemata change ...\n"); in run_mba_test()
151 ksft_print_msg("Starting CMT test ...\n"); in run_cmt_test()
167 ksft_print_msg("Intel CMT may be inaccurate when Sub-NUMA Clustering is enabled. Check BIOS configuration.\n"); in run_cmt_test()
177 ksft_print_msg("Starting CAT test ...\n"); in run_cat_test()
H A Dmba_test.c58 ksft_print_msg("Results are displayed in (MB)\n"); in show_mba_info()
82 ksft_print_msg("%s Check MBA diff within %d%% for schemata %u\n", in show_mba_info()
88 ksft_print_msg("avg_diff_per: %d%%\n", avg_diff_per); in show_mba_info()
89 ksft_print_msg("avg_bw_imc: %lu\n", avg_bw_imc); in show_mba_info()
90 ksft_print_msg("avg_bw_resc: %lu\n", avg_bw_resc); in show_mba_info()
95 ksft_print_msg("%s Check schemata change using MBA\n", in show_mba_info()
98 ksft_print_msg("At least one test failed\n"); in show_mba_info()

Completed in 14 milliseconds

12345