Home
last modified time | relevance | path

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

123456789

/xnu-10063.141.1/tests/
H A Dmemorystatus_is_assertion.c74 T_LOG("pid[%d] --> now clean", pid); in proc_will_set_clean()
82 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 20"); 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 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 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 Dmicrostackshot_tests.c60 T_LOG("notified da of tasking change, sleeping"); in disable_da_microstackshots()
95 T_LOG("installing cleanup handler"); in telemetry_init()
119 T_LOG("no PMI support"); in query_pmi_params()
202 T_LOG("saw %d unknown record events", unknown_records);
211 T_LOG("saw %g interrupt records per second",
214 T_LOG("saw no interrupt records");
217 T_LOG("saw %g I/O records per second",
220 T_LOG("saw no I/O records");
223 T_LOG("saw %g timer arming records per second",
226 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 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 Dgame_mode.c60 T_LOG("pid %d: game mode is: %d", getpid(), game_mode); in check_game_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, game 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 game mode bit on", getpid());
264 T_LOG("uid: %d", getuid());
[all …]
H A Dcpucount.c141 T_LOG("kern.version: %s\n", kernel_version); in cpucount_setup()
148 T_LOG("kern.bootargs: %s\n", kernel_bootargs); in cpucount_setup()
195 T_LOG("hw.ncpu: %2d\n", sysctl_ncpu);
201 T_LOG("(csw %4d) attempting to bind to cpu %2d\n", before_csw_count, cpu_to_bind);
229 T_LOG("(csw %4d) bound to cpu %2d in %f milliseconds\n",
238 T_LOG("cpu %2d reported id %2d\n",
269 T_LOG("cpuclusters: %2d\n", cpuclusters);
279 T_LOG("hw.ncpu: %2d\n", sysctl_ncpu);
285 T_LOG("kern.sched_recommended_cores: %llu", recommended_cores);
308 T_LOG("(csw %4d) attempting to bind to cluster %2d\n", before_csw_count, cluster_to_bind);
[all …]
H A Drecvmsg_x_test.c75 T_LOG("Sent %ld bytes\n", n); in sendPackets()
82 T_LOG("Sent %ld packet\n", count); in sendPackets()
127 T_LOG("recvmsg_x(): %s", strerror(errno)); in recvPackets_x()
131 T_LOG("recvmsg_x(): %s", strerror(errno)); in recvPackets_x()
136 T_LOG("recvmsg_x returned %ld packets\n", n); in recvPackets_x()
141T_LOG("Received packet #%d %lu bytes with recvmsg_x(), msg_namelen = %u, msg_controllen = %d -> %d… in recvPackets_x()
149T_LOG("level = %d, type = %d, length = %d\n", cmsg->cmsg_level, cmsg->cmsg_type, cmsg->cmsg_len); in recvPackets_x()
191T_LOG("\n================= recvmsg_x(%d, %d, %d) SO_DONTTRUNC %d =================\n", NMSGS, BUFF…
195T_LOG("\n================= recvmsg_x(%d, %d, %d) SO_DONTTRUNC %d =================\n", NMSGS, BUFF…
199T_LOG("\n================= recvmsg_x(%d, %d, %d) SO_DONTTRUNC %d =================\n", NMSGS, BUFF…
[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()
95 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()
149 T_LOG("created %s", ifname1); in setup_feth_pair()
156 T_LOG("created %s", ifname2); in setup_feth_pair()
182 T_LOG("bpf_new"); in create_bpf_on_interface()
203T_LOG("write_size_max %u %s value %u", write_size_max, write_size_max != value ? "!=" : "==", valu… in create_bpf_on_interface()
215 T_LOG("batch_write %u %s 1", value, value != 1 ? "!=" : "=="); in create_bpf_on_interface()
286 T_LOG("iov_len %lu bh_hdrlen %u frame_length %u ip_len %u payload_len %u", in make_bootp_packet()
[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);
H A Dkevent_qos.c143 T_LOG("Workloop handler workloop_cb_test_intransit called. " in workloop_cb_test_intransit()
169 T_LOG("Workloop handler workloop_cb_test_sync_send called"); in workloop_cb_test_sync_send()
189 T_LOG("Workloop handler workloop_cb_test_kernel_sync_send called"); in workloop_cb_test_kernel_sync_send()
210 T_LOG("Workloop handler workloop_cb_test_kernel_sync_send called"); in workloop_cb_test_kernel_async_send()
234 T_LOG("Workloop handler workloop_cb_test_sync_send_and_enable called"); in workloop_cb_test_sync_send_and_enable()
274 T_LOG("Workloop handler workloop_cb_test_sync_send_and_enable_handoff called"); in workloop_cb_test_sync_send_and_enable_handoff()
326T_LOG("Workloop handler workloop_cb_test_send_two_sync called for %d time", send_two_sync_handler_… in workloop_cb_test_send_two_sync()
332 T_LOG("Number of events received is %d\n", *events); in workloop_cb_test_send_two_sync()
362T_LOG("Workloop handler workloop_cb_test_two_send_and_destroy called %d times", two_send_and_destr… in workloop_cb_test_two_send_and_destroy()
395 T_LOG("Handler returning \n"); in workloop_cb_test_two_send_and_destroy()
[all …]
H A Dbpf_write.c81 T_LOG("%5zd: %s\n", i, buf); in HexDump()
95 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()
149 T_LOG("created %s", ifname1); in setup_feth_pair()
156 T_LOG("created %s", ifname2); in setup_feth_pair()
181 T_LOG("bpf_new"); in create_bpf_on_interface()
203T_LOG("write_size_max %u %s value %u", write_size_max, write_size_max != value ? "!=" : "==", valu… in create_bpf_on_interface()
234 T_LOG("bpf bdlen %d", bdlen); in do_bpf_write()
267 T_LOG("frame_length %u ip_len %u payload_len %u", frame_length, ip_len, payload_len); in do_bpf_write()
[all …]
H A Dsched_all_cores_running.c118 T_LOG("Non-idle time per CPU:"); in cpu_loads_delta()
128 T_LOG("\tCore %d non-idle ticks: %d", i, non_idle_ticks[i]); in cpu_loads_delta()
152T_LOG("WARNING: amfi_get_out_of_my_way=1 boot-arg is missing, required to reliably capture CPU loa…
156 T_LOG("System has %d logical cores", cpu_count);
162 T_LOG("Mask kern.sched_recommended_cores: 0x%016llx", recommended_cores_mask);
175 T_LOG("Launching %u threads to spin for %lld seconds...", num_threads, spin_seconds);
182 T_LOG("...%lld seconds have elapsed", spin_seconds);
188 T_LOG("Visited cores bitmask: %llx", final_visited_cores_bitmask);
217 T_LOG("hw.ncpu: %d\n", ncpu);
229 T_LOG("kern.sched_recommended_cores: 0x%016llx", recommended_cores_mask);
[all …]
H A Dif_generation_id.c58 T_LOG("ifnet_destroy %s", ifname1); in cleanup()
72 T_LOG("created %s", ifname1);
81 T_LOG("interface creation generation id: %llu", if_generation_id);
84 T_LOG("destroyed %s", ifname1);
91 T_LOG("re-created %s", ifname1);
95 T_LOG("interface creation generation id: %llu", ifr.ifr_creation_generation_id);
H A Dvm_phys_footprint.c270 T_LOG("virtual allocation does not change phys_footprint");
285 T_LOG("modifying anonymous memory increases phys_footprint");
302 T_LOG("deallocating dirty anonymous memory decreases phys_footprint");
375 T_LOG("mapping file does not change phys_footprint");
390 T_LOG("modifying file-backed memory does not impact phys_footprint");
408 T_LOG("unmapping file-backed memory does not impact phys_footprint");
446 T_LOG("purgeable virtual allocation does not change phys_footprint");
461 T_LOG("modifying anonymous memory increases phys_footprint");
485 T_LOG("making volatile decreases phys_footprint");
509 T_LOG("making non-volatile increases phys_footprint");
[all …]
H A Dtask_suspend_stats.c107T_LOG("%s: %8lld suspensions, %10lld.%09lld total secs, last start %lld.%09lld secs ago, last end … in log_stats()
122 T_LOG("%s suspender #%d: start %lld.%09lld secs ago, pid %d, tid %llu, procname \"%s\"", in log_sources()
132 T_LOG("%s: %lld.%09lld secs ago", in log_time()
162T_LOG("delta: %+8lld suspensions, %+10lld.%09lld total nsecs", delta_suspensions, delta_duration /… in verify_stats()
181 T_LOG("Executable path: %s", testpath); in spawn_helper()
192 T_LOG("dt_launch tool returned %d with error code %d", ret, errno); in spawn_helper()
257 T_LOG("Suspending helper...");
261 T_LOG("Sleeping %d sec...", sleep_duration);
264 T_LOG("Resuming helper...");
296 T_LOG("Suspending helper...");
[all …]
/xnu-10063.141.1/tests/vm/
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 …]
/xnu-10063.141.1/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-10063.141.1/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-10063.141.1/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 …]
/xnu-10063.141.1/tests/ktrace/
H A Dkperf_tests.c80 T_LOG("arming timer to stop tracing after %d seconds", timeout_secs); in start_tracing_with_timeout()
83 T_LOG("ending tracing due to timeout"); in start_tracing_with_timeout()
92 T_LOG("trace point emitted"); in start_tracing_with_timeout()
143 T_LOG("found %d CPUs", ncpus);
183 T_LOG("stopping threads");
194 T_LOG("over %.1f seconds, saw %" PRIu64 " timer fires, %" PRIu64
215 T_LOG("%.7g: %s on %d: %llx", timestamp_secs(s, tp->timestamp),
235 T_LOG("%.7g: idle on %d: %llx", timestamp_secs(s, tp->timestamp),
259 T_LOG("missed sample on CPU %d for thread %#llx from "
272 T_LOG("%.7g: FIRE on %d: %d extra, %d idles",
[all …]

123456789