Home
last modified time | relevance | path

Searched refs:ksft_print_msg (Results 1 – 25 of 56) sorted by relevance

123

/linux/tools/testing/selftests/breakpoints/
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()
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()
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("waitpid() failed: $s\n", strerror(errno)); in run_test()
96 ksft_print_msg("child did not single-step: %s\n", in run_test()
105 ksft_print_msg("child did not stop with SIGTRAP: %s\n", in run_test()
[all …]
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()
147 ksft_print_msg( in run_test()
156 ksft_print_msg( in run_test()
174 ksft_print_msg( in run_test()
[all …]
/linux/tools/testing/selftests/capabilities/
A Dtest_execve.c104 ksft_print_msg("[NOTE]\tUsing global UIDs 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()
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("[RUN]\tUID %d +ia => eipa\n", uid); in do_tests()
379 ksft_print_msg("[RUN]\tRoot +ia, suidroot => eipa\n"); in do_tests()
389 ksft_print_msg("[RUN]\tRoot +ia, sgidroot => eipa\n"); in do_tests()
[all …]
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()
/linux/tools/testing/selftests/clone3/
A Dclone3_set_tid.c58 ksft_print_msg("%s - Failed to create new process\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()
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()
259 ksft_print_msg("Child has PID %d\n", getpid()); in main()
281 ksft_print_msg("unshare PID namespace\n"); in main()
[all …]
A Dclone3.c77 ksft_print_msg("%s - Failed to create new process\n", in call_clone3()
83 ksft_print_msg("I am the child, my PID is %d\n", getpid()); in call_clone3()
87 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3()
91 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3()
105 ksft_print_msg( in test_clone3()
109 ksft_print_msg("[%d] clone3() with flags says: %d expected %d\n", in test_clone3()
/linux/tools/testing/selftests/arm64/mte/
A Dmte_common_util.c59 ksft_print_msg("Unknown SIGSEGV exception caught!\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("FAIL: Invalid mmap file request\n"); in mte_allocate_file_memory()
206 ksft_print_msg("FAIL: Invalid mmap file request\n"); in mte_allocate_file_memory_tag_range()
239 ksft_print_msg("FAIL: Invalid free request\n"); in __mte_free_memory_range()
274 ksft_print_msg("FAIL: Invalid mte config option\n"); in mte_switch_mode()
[all …]
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()
A Dmte_common_util.h88 ksft_print_msg("FAIL: memory allocation\n"); in check_allocated_memory()
93 ksft_print_msg("FAIL: tag not found at addr(%p)\n", ptr); in check_allocated_memory()
105 ksft_print_msg("FAIL: memory allocation\n"); in check_allocated_memory_range()
110 ksft_print_msg("FAIL: tag not found at addr(%p)\n", ptr); in check_allocated_memory_range()
A Dcheck_child_memory.c39 ksft_print_msg("FAIL: child process creation\n"); in check_child_tag_inheritance()
53 ksft_print_msg("FAIL: child mte tag mismatch\n"); in check_child_tag_inheritance()
129 ksft_print_msg("FAIL: Insert tags on file based memory\n"); in check_child_file_mapping()
151 ksft_print_msg("ERR: Unable to get page size\n"); in main()
A Dcheck_mmap_options.c79 ksft_print_msg("FAIL: Insert tags on anonymous mmap memory\n"); in check_anonymous_memory_mapping()
116 ksft_print_msg("FAIL: Insert tags on file based memory\n"); in check_file_memory_mapping()
151 ksft_print_msg("FAIL: mprotect not ignoring clear PROT_MTE property\n"); in check_clear_prot_mte_flag()
172 ksft_print_msg("FAIL: mprotect not ignoring clear PROT_MTE property\n"); in check_clear_prot_mte_flag()
197 ksft_print_msg("ERR: Unable to get page size\n"); in main()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_test.c218 ksft_print_msg("pid to recycle is %d\n", pid2); in test_pidfd_send_signal_recycled_pid_fail()
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 %d\n", in test_pidfd_poll_exec_thread()
448 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_exec()
459 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_exec()
462 ksft_print_msg("Parent: Child process waited for.\n"); in test_pidfd_poll_exec()
469 ksft_print_msg("Time waited for child: %lu\n", prog_time); in test_pidfd_poll_exec()
520 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_leader_exit()
531 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_leader_exit()
543 ksft_print_msg("Parent: Child process waited for.\n"); in test_pidfd_poll_leader_exit()
[all …]
A Dpidfd_open_test.c130 ksft_print_msg( in main()
139 ksft_print_msg( in main()
148 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main()
154 ksft_print_msg("pidfd %d refers to process with pid %d\n", pidfd, pid); in main()
/linux/tools/testing/selftests/resctrl/
A Dmba_test.c59 ksft_print_msg("Results are displayed in (MB)\n"); in show_mba_info()
83 ksft_print_msg("%s Check MBA diff within %d%% for schemata %u\n", in show_mba_info()
89 ksft_print_msg("avg_diff_per: %d%%\n", avg_diff_per); in show_mba_info()
90 ksft_print_msg("avg_bw_imc: %lu\n", avg_bw_imc); in show_mba_info()
91 ksft_print_msg("avg_bw_resc: %lu\n", avg_bw_resc); in show_mba_info()
96 ksft_print_msg("%s Check schemata change using MBA\n", in show_mba_info()
99 ksft_print_msg("At least one test failed\n"); in show_mba_info()
A Dmbm_test.c40 ksft_print_msg("%s Check MBM diff within %d%%\n", in show_bw_info()
42 ksft_print_msg("avg_diff_per: %d%%\n", avg_diff_per); in show_bw_info()
43 ksft_print_msg("Span (MB): %d\n", span); in show_bw_info()
44 ksft_print_msg("avg_bw_imc: %lu\n", avg_bw_imc); in show_bw_info()
45 ksft_print_msg("avg_bw_resc: %lu\n", avg_bw_resc); in show_bw_info()
58 ksft_print_msg("Checking for pass/fail\n"); in check_results()
A Dresctrlfs.c70 ksft_print_msg("Fail: unmounting \"%s\"\n", mountpoint); in remount_resctrlfs()
75 ksft_print_msg("Mounting resctrl to \"%s\"\n", RESCTRL_PATH); in remount_resctrlfs()
475 ksft_print_msg("Writing benchmark parameters to resctrl FS\n"); in write_bm_pid_to_resctrl()
506 ksft_print_msg("Skipping empty schemata update\n"); in write_schemata()
547 ksft_print_msg("Write schema \"%s\" to resctrl FS%s%s\n", in write_schemata()
573 ksft_print_msg("%s Check kernel supports resctrl filesystem\n", in check_resctrlfs_support()
580 ksft_print_msg("%s Check resctrl mountpoint \"%s\" exists\n", in check_resctrlfs_support()
585 ksft_print_msg("resctrl filesystem %s mounted\n", in check_resctrlfs_support()
698 ksft_print_msg("dmesg: %s", line); in filter_dmesg()
700 ksft_print_msg("dmesg: %s", line); in filter_dmesg()
A Dcmt_test.c49 ksft_print_msg("Checking for pass/fail\n"); in check_results()
106 ksft_print_msg("Cache size :%lu\n", cache_size); in cmt_resctrl_val()
111 ksft_print_msg("Invalid input value for numbr_of_bits n!\n"); in cmt_resctrl_val()
112 ksft_print_msg("Please enter value in range 1 to %d\n", count_of_bits); in cmt_resctrl_val()
A Dcache.c304 ksft_print_msg("%s Check cache miss rate within %d%%\n", in show_cache_info()
307 ksft_print_msg("Percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
308 ksft_print_msg("Number of bits: %d\n", no_of_bits); in show_cache_info()
309 ksft_print_msg("Average LLC val: %lu\n", avg_llc_val); in show_cache_info()
310 ksft_print_msg("Cache span (%s): %lu\n", cmt ? "bytes" : "lines", in show_cache_info()
A Dcat_test.c62 ksft_print_msg("Checking for pass/fail\n"); in check_results()
125 ksft_print_msg("Cache size :%lu\n", cache_size); in cat_perf_miss_val()
134 ksft_print_msg("Invalid input value for no_of_bits n!\n"); in cat_perf_miss_val()
135 ksft_print_msg("Please enter value in range 1 to %d\n", in cat_perf_miss_val()
A Dresctrl_tests.c62 ksft_print_msg("Starting MBM BW change ...\n"); in run_mbm_test()
81 ksft_print_msg("Starting MBA Schemata change ...\n"); in run_mba_test()
99 ksft_print_msg("Starting CMT test ...\n"); in run_cmt_test()
116 ksft_print_msg("Starting CAT test ...\n"); in run_cat_test()
/linux/tools/testing/selftests/arm64/fp/
A Dvec-syscfg.c65 ksft_print_msg("failed to parse integer from %s\n", what); in stdio_read_integer()
82 ksft_print_msg("pipe() failed: %d (%s)\n", in get_child_rdvl()
91 ksft_print_msg("fork() failed: %d (%s)\n", in get_child_rdvl()
124 ksft_print_msg("wait() failed: %d (%s)\n", in get_child_rdvl()
134 ksft_print_msg("child exited abnormally\n"); in get_child_rdvl()
140 ksft_print_msg("child returned error %d\n", in get_child_rdvl()
148 ksft_print_msg("failed to open child stdout\n"); in get_child_rdvl()
562 ksft_print_msg("%s prctl set failed for %d: %d (%s)\n", in prctl_set_all_vqs()
572 ksft_print_msg("Set %s VL %d but RDVL reports %d\n", in prctl_set_all_vqs()
584 ksft_print_msg("%s VL %d returned %d not minimum %d\n", in prctl_set_all_vqs()
[all …]
/linux/tools/testing/selftests/openat2/
A Dopenat2_test.c101 ksft_print_msg("openat2(2) unsupported\n"); in test_openat2_struct()
133 ksft_print_msg("openat2 unexpectedly returned "); in test_openat2_struct()
135 ksft_print_msg("%d['%s']\n", fd, fdpath); in test_openat2_struct()
137 ksft_print_msg("%d (%s)\n", fd, strerror(-fd)); in test_openat2_struct()
253 ksft_print_msg("openat2(2) unsupported\n"); in test_openat2_flags()
291 ksft_print_msg("openat2 unexpectedly returned "); in test_openat2_flags()
293 ksft_print_msg("%d['%s'] with %X (!= %X)\n", in test_openat2_flags()
297 ksft_print_msg("%d (%s)\n", fd, strerror(-fd)); in test_openat2_flags()
/linux/tools/testing/selftests/sigaltstack/
A Dsas.c65 ksft_print_msg("[RUN]\tsignal USR1\n"); in my_usr1()
78 ksft_print_msg("%s\n", p->msg); in my_usr1()
90 ksft_print_msg("[RUN]\tsignal USR2\n"); in my_usr2()
106 ksft_print_msg("[RUN]\tswitched to user ctx\n"); in switch_fn()
119 ksft_print_msg("[NOTE]\tthe stack size is %lu\n", stack_size); in main()
/linux/tools/testing/selftests/vm/
A Dmadv_populate.c82 ksft_print_msg("[RUN] %s\n", __func__); in test_prot_read()
103 ksft_print_msg("[RUN] %s\n", __func__); in test_prot_write()
124 ksft_print_msg("[RUN] %s\n", __func__); in test_holes()
194 ksft_print_msg("[RUN] %s\n", __func__); in test_populate_read()
216 ksft_print_msg("[RUN] %s\n", __func__); in test_populate_write()
280 ksft_print_msg("[RUN] %s\n", __func__); in test_softdirty()
A Dmremap_test.c102 ksft_print_msg("Failed to map source region: %s\n", in get_source_mapping()
150 ksft_print_msg("mremap failed: %s\n", strerror(errno)); in remap_region()
161 ksft_print_msg("Data after remap doesn't match at offset %d\n", in remap_region()
163 ksft_print_msg("Expected: %#x\t Got: %#x\n", c & 0xff, in remap_region()
275 ksft_print_msg("Test configs:\n\tthreshold_mb=%u\n\tpattern_seed=%u\n\n", in main()
343 ksft_print_msg("\n%s\n", in main()

Completed in 48 milliseconds

123