Home
last modified time | relevance | path

Searched refs:T_LOG (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/xnu-11417.121.6/tests/vm/
H A Dmemorystatus_jetsam_zprint_snapshot.c88 T_LOG("No Jetsam zprint snapshot found, retry later..."); in collect_jzs_data()
90T_LOG("memorystatus_control(%s ...) size_only failed", memorystatus_jzs_command_string(jzs_command… in collect_jzs_data()
97T_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()
105T_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()
131T_LOG("name_size %u, # of names %u", (unsigned)jzs_name_size, (unsigned)(jzs_name_size / sizeof(ma… in collect_jzs_data()
132T_LOG("info_size %u, # of zone infos %u", (unsigned)jzs_info_size, (unsigned)(jzs_info_size / size… in collect_jzs_data()
133T_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 Dvm_test_shreg_ro.c39 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 Dvm_test_linkedit_permanent.c39 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 Dneural_footprint.c100 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-11417.121.6/tests/
H A Dmemorystatus_is_assertion.c72 T_LOG("pid[%d] --> now clean", pid); in proc_will_set_clean()
80 T_LOG("pid[%d] --> now dirty", pid); in proc_will_set_dirty()
162 T_LOG("SETUP STATE COMPLETE: Test %s", test); in memorystatus_assertion_test_repetitive()
170 T_LOG("Avoid idle-deferred - sleeping for %d s", IDLE_AGEOUT_S); in memorystatus_assertion_test_repetitive()
246 T_LOG("SETUP STATE COMPLETE"); in memorystatus_assertion_test_allow_idle_exit()
255 T_LOG(__func__, true, "Unable to retrieve jetsam aging policy (not fatal)"); in memorystatus_assertion_test_allow_idle_exit()
263 T_LOG("********Test0 clean: no state change on relinquish"); in memorystatus_assertion_test_allow_idle_exit()
267 T_LOG("********Test1 clean: deferred now assertion[10]"); in memorystatus_assertion_test_allow_idle_exit()
272 T_LOG("********Test2 clean: assertion[10 -> 3]"); in memorystatus_assertion_test_allow_idle_exit()
277 T_LOG("********Test3 clean: assertion[3 -> 0], but now deferred"); in memorystatus_assertion_test_allow_idle_exit()
[all …]
H A Dmemorystatus_assertion_helpers.c23 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()
85T_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 Dcorpse_backtrace.c49 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 Dmicrostackshot_tests.c61 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 Dmemorystatus_zone_test.c203 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()
303T_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 Dskmem_sysctl_test.c102 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 Dturnstile_multihop.c99 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 Dtest_ptraceme.c51 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 Dcarplay_mode.c60 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());
112T_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 Dgame_mode.c61 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 Dprioritize_process_launch.c122 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()
325 T_LOG("Workloop handler workloop_cb_test_intransit called. "); in workloop_cb_test_intransit()
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()
362 T_LOG("Workloop handler workloop_cb_test_knote_kill called. "); in workloop_cb_test_knote_kill()
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()
[all …]
H A Dkqueue_timer_tests.c60 T_LOG("%s() failure: kevent returned %d, error %d\n", __func__, ret, in do_simple_kevent()
74 T_LOG("\tfailure: expected %lld usec, measured %lld usec.\n", in do_simple_kevent()
78 T_LOG("\tsuccess, measured %lld usec.\n", elapsed_usecs); in do_simple_kevent()
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()
[all …]
H A Dbpf_write_batch.c81 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()
102 T_LOG("sysctl net.link.fake.max_mtu=%d", default_fake_max_mtu); 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()
183T_LOG("write_size_max %u %s value %u", write_size_max, write_size_max != value ? "!=" : "==", valu… in create_bpf_on_interface()
195 T_LOG("batch_write %u %s 1", value, value != 1 ? "!=" : "=="); in create_bpf_on_interface()
266 T_LOG("iov_len %lu bh_hdrlen %u frame_length %u ip_len %u payload_len %u", in make_bootp_packet()
[all …]
H A Dcoalition_policy.c53 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 …]
H A Dtest_note_exec.c64 T_QUIET; T_LOG("Child exited before parent could call csops. The race didn't happen"); in thread_wait_exec()
90 T_QUIET; T_LOG("Forking child"); in run_test()
105 T_QUIET; T_LOG("Setting up NOTE_EXEC Handler for child pid %d", pid); in run_test()
118 T_QUIET; T_LOG("Signalling child to call exec"); in run_test()
121 T_QUIET; T_LOG("Waiting for child to exit"); in run_test()
125 T_QUIET; T_LOG("Waiting for note exec thread to exit"); in run_test()
133 T_QUIET; T_LOG("Testing race for NOTE_EXEC with csops");
136 T_QUIET; T_LOG("Running iteration %d", i);
/xnu-11417.121.6/tests/vm_memory_tests_src/
H A Dvm_tests.c47T_LOG("CLIENT: received info from server... 0x%llx, %lld, 0x%llx, %d - %d\n", message->address, me… in mach_vm_client()
75T_LOG("CLIENT: mach_vm_remap FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_string(ret)… in mach_vm_client()
101T_LOG("CLIENT: mach_vm_read_overwrite FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_st… in mach_vm_client()
120T_LOG("CLIENT: mach_vm_read FAILED: %s -- src 0x%llx, dest 0x%llx (%s)\n", mach_error_string(ret),… in mach_vm_client()
141T_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()
183T_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()
214T_LOG("CLIENT: dest 0x%llx -> 0x%llx (0x%llx), *dest %s\n", dest, dest + misoffset, misoffset, dst… in mach_vm_client()
[all …]
/xnu-11417.121.6/tests/vfs/
H A Dfreeable_vnodes.c103 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-11417.121.6/tests/skywalk/
H A Dskywalk_test_driver.c46 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()
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()
[all …]
H A Dskywalk_mptest_driver.c61 T_LOG("%s:%d := Test exiting with error code %d\n", __func__, __LINE__, (ecode)); \
152 T_LOG("posix_spawnattr_setflags: %s", strerror(error)); in skywalk_mptest_driver_run()
157 T_LOG("Test \"%s\":\t%s", skt->skt_testname, skt->skt_testdesc); 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()
[all …]
H A Dskt_copy_cksum.c95 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 …]
/xnu-11417.121.6/tests/iokit/
H A Dioserviceusernotification_race.c44 T_LOG("Error: Can't read registry root properties."); in ioclasscount()
48 T_LOG("Error: Registry root properties not a dictionary."); 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()
75 T_LOG("Error: Could not find class %s in dictionary.", className); 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()
[all …]

12345678910>>...12