| /xnu-12377.81.4/tests/ |
| H A D | tcp_cache_test.c | 46 T_LOG("TCP cache list size: %zu bytes", size); 61 T_LOG("Found %zu TCP cache entries", num_entries); 69 T_LOG("Entry %zu:", i); 70 T_LOG(" tc_last_access: %u", entry->tc_last_access); 71 T_LOG(" tc_key.tck_family: %d", entry->tc_key.tck_family); 74 T_LOG(" tc_key.tck_src.thk_family: %d", entry->tc_key.tck_src.thk_family); 76 T_LOG(" tc_key.tck_src IP: %s", inet_ntoa(entry->tc_key.tck_src.thk_ip.addr)); 80 T_LOG(" tc_key.tck_src IPv6: %s", addr_str); 85 T_LOG(" tc_key.tck_dst IP: %s", inet_ntoa(entry->tc_key.tck_dst.addr)); 89 T_LOG(" tc_key.tck_dst IPv6: %s", addr_str); [all …]
|
| H A D | memorystatus_is_assertion.c | 73 T_LOG("pid[%d] --> now clean", pid); in proc_will_set_clean() 81 T_LOG("pid[%d] --> now dirty", pid); in proc_will_set_dirty() 163 T_LOG("SETUP STATE COMPLETE: Test %s", test); in memorystatus_assertion_test_repetitive() 171 T_LOG("Avoid idle-deferred - sleeping for %d s", IDLE_AGEOUT_S); in memorystatus_assertion_test_repetitive() 247 T_LOG("SETUP STATE COMPLETE"); in memorystatus_assertion_test_allow_idle_exit() 256 T_LOG(__func__, true, "Unable to retrieve jetsam aging policy (not fatal)"); in memorystatus_assertion_test_allow_idle_exit() 264 T_LOG("********Test0 clean: no state change on relinquish"); in memorystatus_assertion_test_allow_idle_exit() 268 T_LOG("********Test1 clean: deferred now assertion[10]"); in memorystatus_assertion_test_allow_idle_exit() 273 T_LOG("********Test2 clean: assertion[10 -> 3]"); in memorystatus_assertion_test_allow_idle_exit() 278 T_LOG("********Test3 clean: assertion[3 -> 0], but now deferred"); in memorystatus_assertion_test_allow_idle_exit() [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() 85 …T_LOG("user data mismatch [actual / expected] [0x%llx / 0x%llx]", actual_user_data, expected_user_… 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() [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() 73 T_LOG("Found TASK_BTINFO_THREAD_STATE: Flavor %d, Count %d", data.flavor, data.count); in exc_handler_backtrace() 78 T_LOG("Found TASK_BTINFO_THREAD_EXCEPTION_STATE: Flavor %d, Count %d", data.flavor, data.count); in exc_handler_backtrace() 86 T_LOG("Found TASK_BTINFO_PROC_NAME: %s", process_name); 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() 105 T_LOG("Found TASK_BTINFO_RUSAGE_INFO: uuid: %s, start time: %llu, \ in exc_handler_backtrace() 113 T_LOG("Found TASK_BTINFO_SC_LOADINFO64: uuid: %s, slide: %llu, base: %llu", in exc_handler_backtrace() [all …]
|
| H A D | runaway_mitigation.c | 110 T_LOG("pid %d: runaway mitigation mode is: %d", getpid(), runaway_mode); in check_runaway_mode() 125 T_LOG("uid: %d", getuid()); 143 T_LOG("uid: %d", getuid()); 151 T_LOG("uid: %d", getuid()); 163 T_LOG("uid: %d", getuid()); 167 T_LOG("Spawning child"); 181 T_LOG("Exit pid %d with runaway mitigation mode on", getpid()); 202 T_LOG("uid: %d", getuid()); 210 T_LOG("Spawning child"); 228 T_LOG("Exit pid %d with runaway mitigation mode on", getpid()); [all …]
|
| H A D | microstackshot_tests.c | 61 T_LOG("notified da of tasking change, sleeping"); in disable_da_microstackshots() 96 T_LOG("installing cleanup handler"); in telemetry_init() 120 T_LOG("no PMI support"); in query_pmi_params() 203 T_LOG("saw %d unknown record events", unknown_records); 212 T_LOG("saw %g interrupt records per second", 215 T_LOG("saw no interrupt records"); 218 T_LOG("saw %g I/O records per second", 221 T_LOG("saw no I/O records"); 224 T_LOG("saw %g timer arming records per second", 227 T_LOG("saw no timer arming records"); [all …]
|
| H A D | memorystatus_zone_test.c | 203 T_LOG("machdep.max_port_table_size = %d", old_limit); in allocate_from_generic_zone() 253 T_LOG("ZONE NAME: %-35sSIZE: %-25lluELEMENTS: %llu", in print_zone_info() 293 T_LOG("Comparing element counts of \"VM map entries\" and \"vm objects\" zones"); in vme_zone_compares_to_vm_objects() 303 …T_LOG("# VM map entries as percentage of # vm objects = %llu", (vm_map_entry_element_count * 100) … in vme_zone_compares_to_vm_objects() 305 T_LOG("Number of VM map entries is comparable to vm objects\n\n"); in vme_zone_compares_to_vm_objects() 308 T_LOG("Number of VM map entries is NOT comparable to vm objects\n\n"); in vme_zone_compares_to_vm_objects() 315 T_LOG("Largest zone info"); in verify_generic_jetsam_criteria() 342 T_LOG("kern.zone_map_jetsam_limit set to %d%%", old_limit); in begin_test_teardown() 347 T_LOG("Ending ktrace session..."); in begin_test_teardown() 352 T_LOG("Cancelling dispatch sources..."); in begin_test_teardown() [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); 166 T_LOG("Total size of %s: %zu\n", SK_STATS_REGION, total_size); 167 T_LOG("Total size + single entry: %zu\n", len); [all …]
|
| H A D | turnstile_multihop.c | 99 T_LOG("sysctlbyname(hw.ncpu)"); in sched_create_load_at_qos() 103 T_QUIET; T_LOG("%s: Detected %d CPUs\n", __FUNCTION__, ncpu); in sched_create_load_at_qos() 106 T_QUIET; T_LOG("%s: Will create %d threads\n", __FUNCTION__, nthreads); in sched_create_load_at_qos() 118 T_QUIET; T_LOG("calloc returned error"); return ENOMEM; in sched_create_load_at_qos() 131 T_QUIET; T_LOG("%s: Created thread %d (%p)\n", __FUNCTION__, i, (void *)context->threads[i]); in sched_create_load_at_qos() 147 T_QUIET; T_LOG("%s: Thread started %p\n", __FUNCTION__, (void *)pthread_self()); in sched_load_thread() 158 T_QUIET; T_LOG("%s: Thread terminating %p\n", __FUNCTION__, (void *)pthread_self()); in sched_load_thread() 174 T_QUIET; T_LOG("%s: Joining thread %d (%p)\n", __FUNCTION__, i, (void *)context->threads[i]); in sched_terminate_load() 299 T_LOG("Workloop handler %s called. Received message on 0x%llx", in workloop_cb_test_intransit() 318 T_LOG("Registering peer connection"); in workloop_cb_test_intransit() [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 | 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()); 113 T_LOG("coal(%s): %lld, game count %d, flags 0x%x (group 0x%llx, rec %d, focal: %d, nonfocal %d)", in get_coal_debuginfo() 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()); [all …]
|
| 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()); 112 …T_LOG("coal(%s): %lld, carplay count %d, flags 0x%x (group 0x%llx, rec %d, focal: %d, nonfocal %d)… in get_coal_debuginfo() 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()); [all …]
|
| H A D | coalition_policy.c | 55 T_LOG("uid: %d, pid %d", getuid(), getpid()); in get_jet_id() 66 T_LOG("Resource coalition: %lld, Jetsam coalition: %lld", res_id, jet_id); in get_jet_id() 129 T_LOG("suppress: %d", suppress); in log_suppress() 151 …T_LOG("WARN: System did not quiesce. BG threads may experience starvation, causing this test to fa… in quiesce() 165 T_LOG("suppress: %d", suppress); 172 T_LOG("uid: %d, pid %d", getuid(), getpid()); 183 T_LOG("res_id: %lld, jet_id: %lld", res_id, jet_id); 190 T_LOG("suppress: %d", suppress); 246 T_LOG("Spawning child"); 259 T_LOG("Exit pid %d", getpid()); [all …]
|
| /xnu-12377.81.4/tests/vm/ |
| H A D | memorystatus_jetsam_zprint_snapshot.c | 88 T_LOG("No Jetsam zprint snapshot found, retry later..."); in collect_jzs_data() 90 …T_LOG("memorystatus_control(%s ...) size_only failed", memorystatus_jzs_command_string(jzs_command… in collect_jzs_data() 97 … T_LOG("malloc(%zu) failed for %s", jzs_buffer_size, memorystatus_jzs_command_string(jzs_command)); in collect_jzs_data() 103 T_LOG("No Jetsam zprint snapshot found, retry later..."); in collect_jzs_data() 105 …T_LOG("memorystatus_control(%s ...) failed to fetch jetsam zprint snapshot data", memorystatus_jzs… in collect_jzs_data() 128 T_LOG("Collected jetsam zprint snapshot successfully"); in collect_jzs_data() 131 …T_LOG("name_size %u, # of names %u", (unsigned)jzs_name_size, (unsigned)(jzs_name_size / sizeof(ma… in collect_jzs_data() 132 …T_LOG("info_size %u, # of zone infos %u", (unsigned)jzs_info_size, (unsigned)(jzs_info_size / size… in collect_jzs_data() 133 …T_LOG("meminfo_size %u, # of memory infos %u", (unsigned)jzs_meminfo_size, (unsigned)(jzs_meminfo_… in collect_jzs_data() 135 T_LOG("First zone name is '%s'", (*namep)[0].mzn_name); in collect_jzs_data() [all …]
|
| H A D | vm_test_shreg_ro.c | 39 T_LOG(" [ 0x%016llx - 0x%016llx ] size 0x%016llx prot 0x%x/0x%x %s/%s submap %d\n", in print_region_info() 46 T_LOG("-> [ 0x%016llx - 0x%016llx ] size 0x%016llx prot 0x%x/0x%x %s/%s submap %d\n", in print_region_info() 67 T_LOG("===== Looking for read-only mapping in shared region"); in find_nested_read_only_mapping() 138 T_LOG("=========================================="); 143 T_LOG("=========================================="); 160 T_LOG("=========================================="); 161 T_LOG("===== vm_allocate(VM_FLAGS_OVERWRITE) on nested mapping"); 162 T_LOG("=========================================="); 187 T_LOG("=========================================="); 188 T_LOG("===== vm_remap(VM_FLAGS_OVERWRITE) on nested mapping"); [all …]
|
| H A D | vm_memory_entry.c | 57 T_LOG("Creating memory entry"); 65 T_LOG("Mapping memory entry"); 72 T_LOG("Querying page counts"); 80 T_LOG("Faulting mapping"); 83 T_LOG("Wiring mapping"); 87 T_LOG("Querying page counts"); 95 T_LOG("Un-wiring mapping"); 99 T_LOG("Evicting backing pages..."); 106 T_LOG("Querying page counts"); 133 T_LOG("Creating mapping"); [all …]
|
| H A D | vm_test_linkedit_permanent.c | 39 T_LOG(" [ 0x%016llx - 0x%016llx ] size 0x%016llx prot 0x%x/0x%x %s/%s submap %d\n", in print_region_info() 46 T_LOG("-> [ 0x%016llx - 0x%016llx ] size 0x%016llx prot 0x%x/0x%x %s/%s submap %d\n", in print_region_info() 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("=========================================="); 201 T_LOG("===== vm_allocate(VM_FLAGS_OVERWRITE) on LINKEDIT mapping"); [all …]
|
| H A D | neural_footprint.c | 100 T_LOG("Acquired index of neural_nofootprint_compressed"); in ledger_init() 105 T_LOG("Acquired index of neural_footprint_compressed"); in ledger_init() 110 T_LOG("Acquired index of neural_nofootprint_total"); in ledger_init() 115 T_LOG("Acquired index of neural_nofootprint"); in ledger_init() 120 T_LOG("Acquired index of neural_footprint"); in ledger_init() 212 T_LOG( in get_ledger_before() 231 T_LOG( in get_ledger_after() 244 T_LOG(">>>> Compress all pages"); in compress_pages() 253 T_LOG("...> Wait for pages to be compressed"); in compress_pages() 269 T_LOG("<<<< Reading pages to bring back from compressor"); in uncompress_pages() [all …]
|
| /xnu-12377.81.4/tests/vm_memory_tests_src/ |
| H A D | vm_tests.c | 47 …T_LOG("CLIENT: received info from server... 0x%llx, %lld, 0x%llx, %d - %d\n", message->address, me… in mach_vm_client() 75 …T_LOG("CLIENT: mach_vm_remap FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_string(ret)… in mach_vm_client() 101 …T_LOG("CLIENT: mach_vm_read_overwrite FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_st… in mach_vm_client() 120 …T_LOG("CLIENT: mach_vm_read FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_string(ret),… in mach_vm_client() 141 …T_LOG("CLIENT: mach_vm_write FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_string(ret)… in mach_vm_client() 172 T_LOG("CLIENT: mach_vm_map FAILED: %s -- port 0x%x\n", mach_error_string(ret), memport); in mach_vm_client() 183 …T_LOG("CLIENT: mach_vm_deallocate FAILED: %s -- dest 0x%llx, size 0x%llx\n", mach_error_string(ret… in mach_vm_client() 195 T_LOG("CLIENT EXITING ****** \n"); in mach_vm_client() 201 T_LOG("CLIENT EXITING WITH ERROR****** \n"); in mach_vm_client() 214 …T_LOG("CLIENT: dest 0x%llx -> 0x%llx (0x%llx), *dest %s\n", dest, dest + misoffset, misoffset, dst… in mach_vm_client() [all …]
|
| /xnu-12377.81.4/tests/vfs/ |
| H A D | chroot_unmount_stress.c | 96 T_LOG("Detected chroot escape attempt"); in lookup_thread() 109 T_LOG("mkdir failed: %s", strerror(errno)); in setup_chroot() 116 T_LOG("open failed: %s", strerror(errno)); in setup_chroot() 128 T_LOG("mount failed: %s", strerror(errno)); in setup_chroot() 136 T_LOG("chdir failed: %s", strerror(errno)); in setup_chroot() 143 T_LOG("chroot failed: %s", strerror(errno)); in setup_chroot() 164 T_LOG("unmount failed: %s", strerror(errno)); in test_unmount_remount_cycle() 170 T_LOG("fchdir failed: %s", strerror(errno)); in test_unmount_remount_cycle() 176 T_LOG("remount failed: %s", strerror(errno)); in test_unmount_remount_cycle() 182 T_LOG("chroot failed: %s", strerror(errno)); in test_unmount_remount_cycle() [all …]
|
| H A D | freeable_vnodes.c | 103 T_LOG("Created test dir %s\n", dirpath); in run_vnoder() 111 T_LOG("trying to map %u files, progress every %u files\n", num_files, log_interval); in run_vnoder() 120 T_LOG("created and mapped %u files so far\n", next_test_log_number); in run_vnoder() 124 T_LOG("numvnodes is >= maxvnodes + 5000 (%u), done with creation and mmap loop\n", 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); [all …]
|
| /xnu-12377.81.4/tests/skywalk/ |
| H A D | skywalk_test_driver.c | 46 T_LOG("%s:%d := Test exiting with error code %d\n", __func__, __LINE__, (ecode)); \ 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() 211 T_LOG("setting kern.skywalk.mem.region_mtbf to %"PRId32, memfail); in skywalk_test_driver_run() 233 T_LOG("Running init"); in skywalk_test_driver_run() 303 T_LOG("shutdown cnt %d", shutdown_cnt); in skywalk_test_driver_run() 307 T_LOG("child_status: %d", child_status); in skywalk_test_driver_run() 310 T_LOG("Running fini"); in skywalk_test_driver_run() [all …]
|
| H A D | skywalk_mptest_driver.c | 62 T_LOG("%s:%d := Test exiting with error code %d\n", __func__, __LINE__, (ecode)); \ 180 T_LOG("posix_spawnattr_setflags: %s", strerror(error)); in skywalk_mptest_driver_run() 185 T_LOG("Test \"%s\":\t%s", skt->skt_testname, skt->skt_testdesc); in skywalk_mptest_driver_run() 189 T_LOG("Required features: 0x%llx, actual features 0x%llx", in skywalk_mptest_driver_run() 192 T_LOG("Test Result: SKIPPED\n-------------------"); in skywalk_mptest_driver_run() 195 T_LOG("Proceeding with skipped test"); in skywalk_mptest_driver_run() 199 T_LOG("Test is not supported on this device"); in skywalk_mptest_driver_run() 201 T_LOG("Test Result: SKIPPED\n-------------------"); in skywalk_mptest_driver_run() 204 T_LOG("Proceeding with skipped test"); in skywalk_mptest_driver_run() 218 T_LOG("Spawning %d children", skt->skt_nchildren); in skywalk_mptest_driver_run() [all …]
|
| H A D | skt_flow.c | 149 T_LOG("\nTesting with low latency flow requests\n\n"); in skt_flow_req_ll_main() 165 T_LOG("\nTesting flow config API\n"); in skt_flow_config_main() 173 T_LOG("add a flow\n"); in skt_flow_config_main() 178 T_LOG("verify flow default (negative) NOWAKEFROMSLEEP flag\n"); in skt_flow_config_main() 190 T_LOG("verify ENOENT with INVALID flow\n"); in skt_flow_config_main() 196 T_LOG("verify EPERM with INVALID PID\n"); in skt_flow_config_main() 212 T_LOG("verify setting flow NOWAKEFROMSLEEP\n"); in skt_flow_config_main() 220 T_LOG("verify clearing flow NOWAKEFROMSLEEP\n"); in skt_flow_config_main() 228 T_LOG("verify EPERM with netif nexus\n"); in skt_flow_config_main() 233 T_LOG("\n"); in skt_flow_config_main() [all …]
|
| H A D | skt_copy_cksum.c | 95 T_LOG("%s: invalid offset %d or len %d", __func__, off, len); in m_copydata_sum() 102 T_LOG("%s: invalid mbuf chain %p [off %d, len %d]", in m_copydata_sum() 123 T_LOG("%s: invalid mbuf chain %p [off %d, len %d]", in m_copydata_sum() 462 T_LOG("Source offset 0x%03x, Dest offset 0x%03x, " in do_test_multi() 469 T_LOG("Multi: Source Offset %u, Dest Offset %u, " in do_test_multi() 515 T_LOG("Multi: Source Offset %u, Dest Offset %u, " in do_test_multi() 521 T_LOG("Multi: Source Offset %u, Dest Offset %u, " in do_test_multi() 529 T_LOG("Multi: Source Offset %u, Dest Offset %u, " in do_test_multi() 534 T_LOG("Multi: Checksum may have failed, but the copy " in do_test_multi() 548 T_LOG("Source offset 0x%03x, Dest offset 0x%03x, " in do_test_single() [all …]
|