| /xnu-11215/tests/vm/ |
| H A D | memorystatus_jetsam_zprint_snapshot.c | 88 T_LOG("No Jetsam zprint snapshot found, retry later..."); in collect_jzs_data() 103 T_LOG("No Jetsam zprint snapshot found, retry later..."); in collect_jzs_data() 128 T_LOG("Collected jetsam zprint snapshot successfully"); in collect_jzs_data() 135 T_LOG("First zone name is '%s'", (*namep)[0].mzn_name); in collect_jzs_data() 161 T_LOG("# of names %u", nameCnt); in compare_live_memory_info() 162 T_LOG("# of zone infos %u", infoCnt); in compare_live_memory_info() 163 T_LOG("# of memory infos %u", wiredInfoCnt); in compare_live_memory_info() 165 T_LOG("First zone name is '%s'", live_name[0].mzn_name); in compare_live_memory_info() 181 T_LOG("Jetsam zprint snapshot test run %d starts", retries); in run_jzs_test() 203 T_LOG("Stopping child pid %d", child_pid); in run_jzs_test() [all …]
|
| H A D | vm_test_shreg_ro.c | 138 T_LOG("=========================================="); 143 T_LOG("=========================================="); 160 T_LOG("=========================================="); 162 T_LOG("=========================================="); 187 T_LOG("=========================================="); 189 T_LOG("=========================================="); 221 T_LOG("=========================================="); 309 T_LOG(""); 332 T_LOG("===== vm_write() on nested mapping"); 371 T_LOG("===== unnesting the mapping"); [all …]
|
| H A D | vm_test_linkedit_permanent.c | 67 T_LOG("===== Looking for first read-only mapping"); in find_first_read_only_mapping() 142 T_LOG("=========================================="); 147 T_LOG("=========================================="); 164 T_LOG("=========================================="); 165 T_LOG("===== vm_write() on LINKEDIT mapping"); 166 T_LOG("=========================================="); 200 T_LOG("=========================================="); 202 T_LOG("=========================================="); 227 T_LOG("=========================================="); 229 T_LOG("=========================================="); [all …]
|
| H A D | neural_footprint.c | 212 T_LOG( in get_ledger_before() 231 T_LOG( in get_ledger_after() 244 T_LOG(">>>> Compress all pages"); in compress_pages() 358 T_LOG("---> Reset interval max"); in reset_max_interval() 399 T_LOG("---> Allocate for footprint"); 410 T_LOG("---> Allocate for nofootprint"); 548 T_LOG("Dirtying pages"); 682 T_LOG("---> compress primary footprint"); 926 T_LOG("---> Unlock the file"); 950 T_LOG("---> Relock the file"); [all …]
|
| /xnu-11215/tests/ |
| H A D | memorystatus_is_assertion.c | 70 T_LOG("pid[%d] --> now clean", pid); in proc_will_set_clean() 78 T_LOG("pid[%d] --> now dirty", pid); in proc_will_set_dirty() 160 T_LOG("SETUP STATE COMPLETE: Test %s", test); in memorystatus_assertion_test_repetitive() 244 T_LOG("SETUP STATE COMPLETE"); in memorystatus_assertion_test_allow_idle_exit() 261 T_LOG("********Test0 clean: no state change on relinquish"); in memorystatus_assertion_test_allow_idle_exit() 265 T_LOG("********Test1 clean: deferred now assertion[10]"); in memorystatus_assertion_test_allow_idle_exit() 270 T_LOG("********Test2 clean: assertion[10 -> 3]"); in memorystatus_assertion_test_allow_idle_exit() 285 T_LOG("********Test4 clean: deferred now assertion[10]"); in memorystatus_assertion_test_allow_idle_exit() 369 T_LOG("SETUP STATE COMPLETE"); in memorystatus_assertion_test_do_not_allow_idle_exit() 379 T_LOG("********Test0 clean: no state change on relinquish"); in memorystatus_assertion_test_do_not_allow_idle_exit() [all …]
|
| H A D | corpse_backtrace.c | 49 T_LOG("Received backtrace exception."); in exc_handler_backtrace() 63 T_LOG("Found TASK_BTINFO_GID: %d", gid); in exc_handler_backtrace() 68 T_LOG("Found TASK_BTINFO_CPUTYPE: %d", type); in exc_handler_backtrace() 91 T_LOG("Found TASK_BTINFO_PROC_PATH: %s", c_str); in exc_handler_backtrace() 96 T_LOG("Found TASK_BTINFO_PLATFORM: %d", platform); in exc_handler_backtrace() 150 T_LOG("Image %d: <%s, %p>", i, uuid_str, in exc_handler_backtrace() 168 T_LOG("Image %d: <%s, %p>", i, uuid_str, in exc_handler_backtrace() 207 T_LOG("Got protected exception!"); in exc_handler_identity_protected() 232 T_LOG("Exception port: %d\n", exc_port); 243 T_LOG("Wait for exception on main thread.."); [all …]
|
| H A D | memorystatus_assertion_helpers.c | 23 T_LOG("Relinquish ...assertion... priority(%d) for pid[%d]", priority, pid); in set_priority() 25 T_LOG("Setting ...assertion... priority(%d) for pid[%d]", priority, pid); in set_priority() 29 T_LOG("Setting ...requested... priority(%d) for pid[%d]", priority, pid); in set_priority() 59 T_LOG("check_properties: %s", test); in check_properties() 74 T_LOG("%s test failed: %s\n", test, PROP_CHECK_ERROR_STRING); in check_properties() 77 T_LOG("priority mismatch [actual / expected] [%d / %d]", actual_priority, expected_priority); in check_properties() 81 T_LOG("limit mismatch [actual / expected] [%d / %d]", actual_limit_mb, expected_limit_mb); in check_properties() 88 T_LOG("state is 0x%x\n", actual_state); in check_properties() 137 T_LOG("Setting pid[%d] limits active [%d %s] inactive [%d %s]", pid, in set_memlimits() 168 T_LOG("get_priority_props: pid[%d] limit %d, user_data 0x%llx, priority %d, state 0x%x", in get_priority_props() [all …]
|
| H A D | microstackshot_tests.c | 95 T_LOG("installing cleanup handler"); in telemetry_init() 119 T_LOG("no PMI support"); in query_pmi_params() 214 T_LOG("saw no interrupt records"); 220 T_LOG("saw no I/O records"); 226 T_LOG("saw no timer arming records"); 249 T_LOG("PMI counter: %u", pmi_counter); 250 T_LOG("PMI period: %llu", pmi_period); 326 T_LOG("PMI counter: %u", pmi_counter); 327 T_LOG("PMI period: %llu", pmi_period); 413 T_LOG("interrupt record rate: %gHz", [all …]
|
| H A D | memorystatus_zone_test.c | 253 T_LOG("ZONE NAME: %-35sSIZE: %-25lluELEMENTS: %llu", in print_zone_info() 315 T_LOG("Largest zone info"); in verify_generic_jetsam_criteria() 347 T_LOG("Ending ktrace session..."); in begin_test_teardown() 352 T_LOG("Cancelling dispatch sources..."); in begin_test_teardown() 408 T_LOG("Killing child processes..."); in cleanup_and_end_test() 422 T_LOG("waitpid returned status %d", status); in cleanup_and_end_test() 449 T_LOG("Setting up ktrace session..."); in setup_ktrace_session() 622 T_LOG("Executable path: %s", testpath); in run_test() 627 T_LOG("hw.memsize: %llu", mem); in run_test() 632 T_LOG("vm.pagesize: %d", pgsz); in run_test() [all …]
|
| H A D | skmem_sysctl_test.c | 102 T_LOG("Total size of %s: %zu\n", SK_STATS_ARENA, total_size); 103 T_LOG("Size of single entry: %zu\n", len); 118 T_LOG("Total size of %s: %zu\n", SK_STATS_REGION, total_size); 119 T_LOG("Size of single entry: %zu\n", len); 134 T_LOG("Total size of %s: %zu\n", SK_STATS_CACHE, total_size); 135 T_LOG("Size of single entry: %zu\n", len); 150 T_LOG("Total size of %s: %zu\n", SK_STATS_ARENA, total_size); 151 T_LOG("Total size + single entry: %zu\n", len); 167 T_LOG("Total size + single entry: %zu\n", len); 182 T_LOG("Total size of %s: %zu\n", SK_STATS_CACHE, total_size); [all …]
|
| H A D | turnstile_multihop.c | 99 T_LOG("sysctlbyname(hw.ncpu)"); in sched_create_load_at_qos() 318 T_LOG("Registering peer connection"); in workloop_cb_test_intransit() 324 T_LOG("Received message on peer"); in workloop_cb_test_intransit() 332 T_LOG("Do some CPU work."); in workloop_cb_test_intransit() 463 T_LOG("Client: Starting sync receive\n"); in receive() 534 T_LOG("Target thread blocked\n"); in thread_wait_to_block() 555 T_LOG("Target thread boosted\n"); in thread_wait_to_boost() 706 T_LOG("Thread at IN priority got first lock "); in thread_at_in() 784 T_LOG("received reply"); in thread_at_maintenance() 816 T_LOG("set priority failed\n"); in thread_create_at_qos() [all …]
|
| H A D | test_ptraceme.c | 51 T_LOG("Parent %d: Calling fork()", getpid()); 57 T_LOG("Child %d: Calling ptrace(PT_TRACE_ME, 0, NULL, 0)", getpid()); 61 T_LOG("Child %d: Calling execl(\"/bin/echo\", ...)", getpid()); 66 T_LOG("Parent %d: Calling waitpid(%d, NULL, WUNTRACED)", getpid(), child_pid); 75 T_LOG("Parent %d: Calling ptrace(PT_DETACH, %d, NULL, 0)", getpid(), child_pid); 79 T_LOG("Parent %d: Calling kill(%d, SIGTERM)", getpid(), child_pid); 82 T_LOG("Parent %d: Calling wait(NULL)\n", getpid());
|
| H A D | carplay_mode.c | 60 T_LOG("pid %d: carplay mode is: %d", getpid(), mode); in check_carplay_mode() 73 T_LOG("uid: %d", getuid()); 91 T_LOG("uid: %d", getuid()); 99 T_LOG("uid: %d", getuid()); 196 T_LOG("uid: %d", getuid()); 218 T_LOG("uid: %d", getuid()); 224 T_LOG("Spawning child"); 240 T_LOG("Exit pid %d with the caprlay mode bit on", getpid()); 264 T_LOG("uid: %d", getuid()); 290 T_LOG("Exit pid %d with the carplay mode bit on", getpid()); [all …]
|
| H A D | game_mode.c | 61 T_LOG("pid %d: game mode is: %d", getpid(), game_mode); in check_game_mode() 74 T_LOG("uid: %d", getuid()); 92 T_LOG("uid: %d", getuid()); 100 T_LOG("uid: %d", getuid()); 197 T_LOG("uid: %d", getuid()); 219 T_LOG("uid: %d", getuid()); 225 T_LOG("Spawning child"); 241 T_LOG("Exit pid %d with the game mode bit on", getpid()); 265 T_LOG("uid: %d", getuid()); 291 T_LOG("Exit pid %d with the game mode bit on", getpid()); [all …]
|
| H A D | prioritize_process_launch.c | 122 T_LOG("Client: Starting sync receive\n"); in receive() 176 T_LOG("Target thread blocked\n"); in thread_wait_to_block() 209 T_LOG("set priority failed\n"); in thread_create_at_qos() 216 T_LOG("pthread created\n"); in thread_create_at_qos() 326 T_LOG("The total events returned is %d", *events); in workloop_cb_test_intransit() 346 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_intransit() 363 T_LOG("The total events returned is %d", *events); in workloop_cb_test_knote_kill() 380 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_knote_kill() 396 T_LOG("The total events returned is %d", *events); in workloop_cb_test_sync_bootstrap() 407 T_LOG("Waiting for the servicer to be boosted"); in workloop_cb_test_sync_bootstrap() [all …]
|
| H A D | bpf_write_batch.c | 81 T_LOG("%5zd: %s\n", i, buf); in HexDump() 94 T_LOG("ifnet_destroy %s", ifname1); in cleanup() 98 T_LOG("ifnet_destroy %s", ifname2); in cleanup() 130 T_LOG("created %s", ifname1); in setup_feth_pair() 138 T_LOG("created %s", ifname2); in setup_feth_pair() 162 T_LOG("bpf_new"); in create_bpf_on_interface() 285 T_LOG("bpf bdlen %d", bdlen); in do_bpf_write_batch() 299 T_LOG("tv_sec %u tv_usec %u caplen %u datalen %u hdrlen %u", in do_bpf_write_batch() 307 T_LOG("total_len %ld", total_len); in do_bpf_write_batch() 312 T_LOG("bpf write returned %ld", nwritten); in do_bpf_write_batch() [all …]
|
| H A D | kqueue_timer_tests.c | 99 T_LOG("Testing %d MATUs absolute timer...\n", time); in test_absolute_kevent() 102 T_LOG("Testing %d sec absolute timer...\n", time); in test_absolute_kevent() 106 T_LOG("Testing %d usec absolute timer...\n", time); in test_absolute_kevent() 110 T_LOG("Testing %d msec absolute timer...\n", time); in test_absolute_kevent() 157 T_LOG("Testing %d MATUs interval timer...\n", time); in test_oneshot_kevent() 161 T_LOG("Testing %d sec interval timer...\n", time); in test_oneshot_kevent() 165 T_LOG("Testing %d usec interval timer...\n", time); in test_oneshot_kevent() 169 T_LOG("Testing %d nsec interval timer...\n", time); in test_oneshot_kevent() 173 T_LOG("Testing %d msec interval timer...\n", time); in test_oneshot_kevent() 272 T_LOG("\tfailed to stop repeating timer: %d\n", ret); in test_interval_kevent() [all …]
|
| H A D | coalition_policy.c | 53 T_LOG("uid: %d, pid %d", getuid(), getpid()); in get_jet_id() 64 T_LOG("Resource coalition: %lld, Jetsam coalition: %lld", res_id, jet_id); in get_jet_id() 127 T_LOG("suppress: %d", suppress); in log_suppress() 156 T_LOG("suppress: %d", suppress); 163 T_LOG("uid: %d, pid %d", getuid(), getpid()); 174 T_LOG("res_id: %lld, jet_id: %lld", res_id, jet_id); 181 T_LOG("suppress: %d", suppress); 234 T_LOG("Spawning child"); 247 T_LOG("Exit pid %d", getpid()); 278 T_LOG("Spawning child"); [all …]
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | vm_tests.c | 195 T_LOG("CLIENT EXITING ****** \n"); in mach_vm_client() 201 T_LOG("CLIENT EXITING WITH ERROR****** \n"); in mach_vm_client() 329 T_LOG("FAILED\n"); in mach_server_make_memory_entry() 336 T_LOG("FAILED\n"); in mach_server_make_memory_entry() 343 T_LOG("FAILED\n"); in mach_server_make_memory_entry() 387 T_LOG("PASSED\n"); in mach_server_make_memory_entry() 395 T_LOG("PASSED\n"); in mach_server_make_memory_entry() 448 T_LOG("vm_%s test...", opname); in mach_server_read() 536 T_LOG("PASSED\n"); in mach_server_read() 657 T_LOG("PASSED\n"); in mach_server_remap() [all …]
|
| /xnu-11215/tests/vfs/ |
| H A D | freeable_vnodes.c | 103 T_LOG("Created test dir %s\n", dirpath); in run_vnoder() 147 T_LOG("created and mapped %u files\n", i); in run_vnoder() 160 T_LOG("Killing vnoder pid in cleanup: %d", vnoder_pid); in cleanup() 194 T_LOG("max vnodes: %d", maxvnodes); 202 T_LOG("Initial num vnodes: %d", initial_num); 253 T_LOG("Num getpaths done = %d", num_getpaths); 256 T_LOG("num vnodes after vnoder: %d", current_num); 268 T_LOG("Waiting up to %ds for vnodes to be deallocated", timeout); 276 T_LOG("deallocateable_vnodes after %d second%s : %d", 278 T_LOG("deallocateable_busy_vnodes after %d second%s : %d", [all …]
|
| /xnu-11215/tests/skywalk/ |
| H A D | skywalk_test_driver.c | 77 T_LOG("Unexpected exception received: %d", exception); in catch_mach_exception_raise() 109 T_LOG("Unexpected exception handler called: %s", __func__); in catch_mach_exception_raise_state() 122 T_LOG("Unexpected exception handler called: %s", __func__); in catch_mach_exception_raise_state_identity() 171 T_LOG("pthread_create server_thread: %s\n", strerror(error)); in skywalk_test_driver_init() 212 T_LOG("setting kern.skywalk.mem.region_mtbf to %"PRId32, memfail); in skywalk_test_driver_run() 234 T_LOG("Running init"); in skywalk_test_driver_run() 304 T_LOG("shutdown cnt %d", shutdown_cnt); in skywalk_test_driver_run() 308 T_LOG("child_status: %d", child_status); in skywalk_test_driver_run() 311 T_LOG("Running fini"); in skywalk_test_driver_run() 325 T_LOG("Got exception code: No"); in skywalk_test_driver_run() [all …]
|
| H A D | skywalk_mptest_driver.c | 152 T_LOG("posix_spawnattr_setflags: %s", strerror(error)); in skywalk_mptest_driver_run() 161 T_LOG("Required features: 0x%llx, actual features 0x%llx", in skywalk_mptest_driver_run() 164 T_LOG("Test Result: SKIPPED\n-------------------"); in skywalk_mptest_driver_run() 167 T_LOG("Proceeding with skipped test"); in skywalk_mptest_driver_run() 171 T_LOG("Test is not supported on this device"); in skywalk_mptest_driver_run() 173 T_LOG("Test Result: SKIPPED\n-------------------"); in skywalk_mptest_driver_run() 176 T_LOG("Proceeding with skipped test"); in skywalk_mptest_driver_run() 190 T_LOG("Spawning %d children", skt->skt_nchildren); in skywalk_mptest_driver_run() 308 T_LOG("Child %d (pid %d) exited with status %d", in skywalk_mptest_driver_run() 329 T_LOG("Delivered SIGTERM to child %d pid %d", in skywalk_mptest_driver_run() [all …]
|
| H A D | skt_copy_cksum.c | 615 T_LOG("Source offset 0x%03x, " in do_test_cksum() 621 T_LOG("Single: Source Offset %u, " in do_test_cksum() 633 T_LOG("Single: Source Offset %u, " in do_test_cksum() 639 T_LOG("Single: Source Offset %u, " in do_test_cksum() 666 T_LOG("st_dst_buffer %p\n", st_dst_buffer); in skt_copy_cksum_common() 667 T_LOG("st_ref_buffer %p\n", st_ref_buffer); in skt_copy_cksum_common() 688 T_LOG("Success\n"); in skt_copy_cksum_common() 694 T_LOG("Fail\n"); in skt_copy_cksum_common() 717 T_LOG("st_ref_buffer %p\n", st_ref_buffer); in skt_cksum_common() 733 T_LOG("Success\n"); in skt_cksum_common() [all …]
|
| /xnu-11215/tests/sched/ |
| H A D | sched_test_utils.c | 77 T_LOG("️ Platform is a virtual machine!"); in platform_is_virtual_machine() 158 T_LOG(" Not yet quiesced (%.2f%% idle)", idle_ratio * 100.0); in wait_for_quiescence() 202 T_LOG("️ Restoring CLPC state..."); in clpcctrl_cleanup() 237 T_LOG("️ [clpcctrl] %s", data); in execute_clpcctrl() 246 T_LOG("️ [clpcctrl] Error msg: %s", data); in execute_clpcctrl() 412 T_LOG("️ [trace] %s", data); in begin_collect_trace_fmt() 416 T_LOG("️ [trace] Error msg: %s", data); in begin_collect_trace_fmt() 452 T_LOG("️ Now waiting on trace to finish up..."); in end_collect_trace() 476 T_LOG("️ \"%s\" marked for upload", compressed_path); in save_collected_trace() 481 T_LOG("️ [tar] %s", data); in save_collected_trace() [all …]
|
| /xnu-11215/tests/iokit/ |
| H A D | ioserviceusernotification_race.c | 44 T_LOG("Error: Can't read registry root properties."); in ioclasscount() 55 T_LOG("Error: Allocation information missing."); in ioclasscount() 59 T_LOG("Error: Allocation information not a dictionary."); in ioclasscount() 65 T_LOG("Error: Class information missing."); in ioclasscount() 69 T_LOG("Error: Class information not a dictionary."); in ioclasscount() 80 T_LOG("Error: Instance information not a number."); in ioclasscount() 85 T_LOG("Error: Failed to get number."); in ioclasscount() 90 T_LOG("Instance count is negative."); in ioclasscount() 140 T_LOG("notification received, destroyed"); in notificationReceived2() 229 T_LOG("launch helper -> pid %d", child); [all …]
|