Home
last modified time | relevance | path

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

1234567

/xnu-8019.80.24/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 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 Dmemorystatus_zone_test.c209 T_LOG("machdep.max_port_table_size = %d", old_limit); in allocate_from_generic_zone()
259 T_LOG("ZONE NAME: %-35sSIZE: %-25lluELEMENTS: %llu", in print_zone_info()
299 T_LOG("Comparing element counts of \"VM map entries\" and \"vm objects\" zones"); in vme_zone_compares_to_vm_objects()
309T_LOG("# VM map entries as percentage of # vm objects = %llu", (vm_map_entry_element_count * 100) … in vme_zone_compares_to_vm_objects()
311 T_LOG("Number of VM map entries is comparable to vm objects\n\n"); in vme_zone_compares_to_vm_objects()
314 T_LOG("Number of VM map entries is NOT comparable to vm objects\n\n"); in vme_zone_compares_to_vm_objects()
321 T_LOG("Largest zone info"); in verify_generic_jetsam_criteria()
348 T_LOG("kern.zone_map_jetsam_limit set to %d%%", old_limit); in begin_test_teardown()
353 T_LOG("Ending ktrace session..."); in begin_test_teardown()
358 T_LOG("Cancelling dispatch sources..."); in begin_test_teardown()
[all …]
H A Ddata_protection.c574 T_LOG("Test temp dir: %s", g_test_tempdir); in setup()
626 T_LOG("Cleaning up…"); in cleanup()
629 T_LOG("Cleanup: closing fd %d", g_subdir_fd); in cleanup()
634 T_LOG("Cleanup: removing %s", g_subdirpath); in cleanup()
639 T_LOG("Cleanup: closing fd %d", g_fd); in cleanup()
644 T_LOG("Cleanup: removing %s", g_filepath); in cleanup()
649 T_LOG("Cleanup: closing fd %d", g_dir_fd); in cleanup()
654 T_LOG("Cleanup: removing %s", g_dirpath); in cleanup()
659 T_LOG("Cleanup: removing %s", g_test_tempdir); in cleanup()
664 T_LOG("Cleanup: unlocking device"); in cleanup()
[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()
191 T_LOG("\n================= recvmsg_x() test =================\n");
195 T_LOG("\n================= recvmsg_x() test =================\n");
199 T_LOG("\n================= recvmsg_x() test =================\n");
[all …]
H A Dkevent_qos.c126 T_LOG("Workloop handler workloop_cb_test_intransit called. " in workloop_cb_test_intransit()
152 T_LOG("Workloop handler workloop_cb_test_sync_send called"); in workloop_cb_test_sync_send()
172 T_LOG("Workloop handler workloop_cb_test_kernel_sync_send called"); in workloop_cb_test_kernel_sync_send()
197 T_LOG("Workloop handler workloop_cb_test_sync_send_and_enable called"); in workloop_cb_test_sync_send_and_enable()
237 T_LOG("Workloop handler workloop_cb_test_sync_send_and_enable_handoff called"); in workloop_cb_test_sync_send_and_enable_handoff()
289T_LOG("Workloop handler workloop_cb_test_send_two_sync called for %d time", send_two_sync_handler_… in workloop_cb_test_send_two_sync()
295 T_LOG("Number of events received is %d\n", *events); in workloop_cb_test_send_two_sync()
325T_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()
358 T_LOG("Handler returning \n"); in workloop_cb_test_two_send_and_destroy()
442 T_LOG("Workloop handler workloop_cb_test_sync_send_reply called"); in workloop_cb_test_sync_send_reply()
[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 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 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 Dprioritize_process_launch.c160 T_LOG("Client: Starting sync receive\n"); in receive()
214 T_LOG("Target thread blocked\n"); in thread_wait_to_block()
247 T_LOG("set priority failed\n"); in thread_create_at_qos()
254 T_LOG("pthread created\n"); in thread_create_at_qos()
363 T_LOG("Workloop handler workloop_cb_test_intransit called. "); in workloop_cb_test_intransit()
364 T_LOG("The total events returned is %d", *events); in workloop_cb_test_intransit()
384 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_intransit()
400 T_LOG("Workloop handler workloop_cb_test_knote_kill called. "); in workloop_cb_test_knote_kill()
401 T_LOG("The total events returned is %d", *events); in workloop_cb_test_knote_kill()
418 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_knote_kill()
[all …]
H A Dvm_test_mach_map.c434 T_LOG("--> allocate %llu bytes", vm_size);
443 T_LOG(" footprint[0] = %llu", footprint[0]);
445 T_LOG("--> access %llu bytes", vm_size);
453 T_LOG(" footprint[1] = %llu", footprint[1]);
455 T_LOG("WARN: footprint[1] != footprint[0] + vm_size");
458 T_LOG("--> wire %llu bytes", vm_size / 2);
464 T_LOG(" footprint[2] = %llu", footprint[2]);
466 T_LOG("WARN: footprint[2] != footprint[1]");
469 T_LOG("--> VOLATILE");
480 T_LOG(" footprint[3] = %llu", footprint[3]);
[all …]
H A Dvm_phys_footprint.c254 T_LOG("virtual allocation does not change phys_footprint");
269 T_LOG("modifying anonymous memory increases phys_footprint");
286 T_LOG("deallocating dirty anonymous memory decreases phys_footprint");
355 T_LOG("mapping file does not change phys_footprint");
370 T_LOG("modifying file-backed memory does not impact phys_footprint");
388 T_LOG("unmapping file-backed memory does not impact phys_footprint");
426 T_LOG("purgeable virtual allocation does not change phys_footprint");
441 T_LOG("modifying anonymous memory increases phys_footprint");
465 T_LOG("making volatile decreases phys_footprint");
489 T_LOG("making non-volatile increases phys_footprint");
[all …]
H A Dkevent_continuous_time.c53 T_LOG("Sleepeing for %s seconds...", buf); in trigger_sleep()
93 T_LOG("waited %d seconds for sleep...", i + 1); in wait_for_sleep()
110T_LOG("EV_SET(&kev, 1, EVFILT_TIMER, EV_ADD, NOTE_SECONDS | NOTE_MACH_CONTINUOUS_TIME, 4, 0, 0, 0)…
122T_LOG("event = {.ident = %llx, .filter = %d, .flags = %d, .fflags = %d, .data = %lld, .udata = %ll…
130T_LOG("ct progressed %llu ms, abs progressed %llu ms", ct_ms_progressed, tick_to_ms(abs_now - abs_…
149 T_LOG("EV_SET(&kev, 1, EVFILT_TIMER, EV_DELETE, 0, 0, 0);");
170 T_LOG("currently is %llu, firing at %llu", nowus, fire_at);
179T_LOG("EV_SET(&kev, 2, EVFILT_TIMER, EV_ADD, NOTE_MACH_CONTINUOUS_TIME | NOTE_ABSOLUTE | NOTE_USEC…
184 T_LOG("testing NOTE_MACH_CONTINUOUS_TIME | NOTE_ABSOLUTE between sleep");
194T_LOG("event = {.ident = %llx, .filter = %d, .flags = %d, .fflags = %d, .data = %lld, .udata = %ll…
[all …]
H A Dtelemetry.c76 T_LOG("notified da of tasking change, sleeping"); in disable_da_microstackshots()
111 T_LOG("installing cleanup handler"); in telemetry_init()
203 T_LOG("saw %g interrupt records per second",
206 T_LOG("saw no interrupt records");
209 T_LOG("saw %g I/O records per second",
212 T_LOG("saw no I/O records");
215 T_LOG("saw %g timer arming records per second",
218 T_LOG("saw no timer arming records");
248 T_LOG("ending trace session after %d seconds", SLEEP_SECS);
H A Dsigchld_return.c63 T_LOG("In child process. Now signalling SIGABRT");
66 T_LOG("Child should not print");
73 T_LOG("si_status = 0x%x , expected = 0x%x \n", siginfo.si_status, expected_signal);
88 T_LOG("In child process. Now signalling SIGKILL");
90 T_LOG("Child should not print");
97 T_LOG("si_status = 0x%x , expected = 0x%x \n", siginfo.si_status, expected_signal);
H A Dextract_right_soft_fail.c38 T_LOG("Target pid: %d", pid); in test_extract_immovable_task_port()
52 T_LOG("Searching for task port..name: 0x%x", table[i].iin_name); in test_extract_immovable_task_port()
59 T_LOG("mach_port_kernel_object() failed on name 0x%x, kr: 0x%x", table[i].iin_name, kr); in test_extract_immovable_task_port()
66 T_LOG("Remote tport name: 0x%x", tport_name); in test_extract_immovable_task_port()
70 T_LOG("Still alive after extract right.."); in test_extract_immovable_task_port()
75 T_LOG("Still alive after deallocate.."); in test_extract_immovable_task_port()
88 T_LOG("Check if immovable control port has been enabled\n");
H A Duser_msrs.c64 T_LOG("sub-test '%s'\n", reg_name); in msr_test()
75 T_LOG("\tcan read: %s\n", readable ? "YES" : "NO"); in msr_test()
76 T_LOG("\tcan write: %s\n", writeable ? "YES" : "NO"); in msr_test()
78 T_LOG("\tvalue found: 0x%016llx\n", (unsigned long long)val); in msr_test()
82 T_LOG("\t RW needed for more testing. no further testing will be performed\n"); in msr_test()
92 T_LOG("\t reg seems to not take writes (0x%016llx). no further testing will be performed\n", val); in msr_test()
95T_LOG("\twrote 0x%016llx, saw 0x%016llx\n", (unsigned long long)wrote_val, (unsigned long long)new… in msr_test()
113T_LOG("\tvalue reverted to 0x%016llx from 0x%016llx\n", (unsigned long long)new_val, (unsigned lon… in msr_test()
H A Dproc_rlimit.c88 T_LOG("%35s soft: 0x%16llx hard 0x%16llx", RESOURCE_STRING[i], lim.rlim_cur, lim.rlim_max); in print_rlimits()
234 T_LOG("Resource limits before the test:");
240 T_LOG("---------Lowering soft limits by 0x%x---------:\n", LIMIT_DIFF);
244 T_LOG("---------Raising soft limits by 0x%x---------:\n", LIMIT_DIFF);
248 T_LOG("---------Lowering hard limits by 0x%x---------:", LIMIT_DIFF);
252T_LOG("---------Attempting to raised soft limits by 0x%x to exceed hard limits---------:", LIMIT_D…
256 T_LOG("---------Attempting to raise hard limits by 0x%x---------:", LIMIT_DIFF);
260 T_LOG("---------Accessing a non-existing resource---------:");
269 T_LOG("Resource limits after the test:");
H A Dexception_ports_info.c62 T_LOG("exc_port1: 0x%x", exc_port1);
63 T_LOG("exc_port2: 0x%x", exc_port2);
64 T_LOG("exc_port3: 0x%x", exc_port3);
112 T_LOG("exception port name: 0x%x", ports[i]);
127 T_LOG("task_self kobject: 0x%x", kobject);
144 T_LOG("exc_port_1_kaddr: 0x%x", exc_port1_kaddr);
145 T_LOG("exc_port_2_kaddr: 0x%x", exc_port2_kaddr);
146 T_LOG("exc_port_3_kaddr: 0x%x", exc_port3_kaddr);
149 T_LOG("ports_info[%d].iip_port_object: 0x%x", i, ports_info[i].iip_port_object);
H A Dpoll_select_kevent_paired_fds.c128 T_LOG("waking writer"); in wake_writer()
132 T_LOG("signal shared.wr_wait.sem"); in wake_writer()
150 T_LOG("wait shared.wr_wait.sem"); in writer_wait()
169 T_LOG("writer woken up, starting to write"); in writer_wait()
211 T_LOG("signal shared.wr_finished"); in workqueue_write_fn()
324 T_LOG("kevent was interrupted"); in drive_kq()
355 T_LOG("write from child was interrupted"); in write_to_fd()
412 T_LOG("kevent_qos was interrupted"); in write_to_fd()
445 T_LOG("signal shared.wr_finished"); in write_to_fd()
462 T_LOG("wait shared.wr_finished"); in write_to_fd()
[all …]
/xnu-8019.80.24/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-8019.80.24/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-8019.80.24/tests/ktrace/
H A Dkperf_tests.c78 T_LOG("arming timer to stop tracing after %d seconds", timeout_secs); in start_tracing_with_timeout()
81 T_LOG("ending tracing due to timeout"); in start_tracing_with_timeout()
90 T_LOG("trace point emitted"); in start_tracing_with_timeout()
141 T_LOG("found %d CPUs", ncpus);
181 T_LOG("stopping threads");
192 T_LOG("over %.1f seconds, saw %" PRIu64 " timer fires, %" PRIu64
213 T_LOG("%.7g: %s on %d: %llx", timestamp_secs(s, tp->timestamp),
233 T_LOG("%.7g: idle on %d: %llx", timestamp_secs(s, tp->timestamp),
257 T_LOG("missed sample on CPU %d for thread %#llx from "
270 T_LOG("%.7g: FIRE on %d: %d extra, %d idles",
[all …]
H A Dkperf_backtracing_tests.c27 T_LOG("frame %2u: skipping system frame '%s'", frame_idx, in expect_frame()
32 T_LOG("checking frame %d: %llx", bt_idx, addr); in expect_frame()
107 T_LOG("found %s stack from thread %#" PRIx64, kern ? "kernel" : "user", in expect_backtrace()
129 T_LOG("%s stack seen", kern ? "kernel" : "user"); in expect_backtrace()
310 T_LOG("backtrace thread calling into %d frames (already at %d frames)", in backtrace_thread()
342 T_LOG("starting thread with ID 0x%" PRIx64, tid); in create_backtrace_thread()
418 T_LOG("ending test after timeout");
466 T_LOG("ending test after timeout");
523 T_LOG("found %llu frame stack", tp->arg2);
540 T_LOG("ending test after timeout");
[all …]
/xnu-8019.80.24/tests/vm/
H A Dmmap_resilient_media.c75 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error1_rate) error %d (%s)",
84 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error2_rate) error %d (%s)",
93 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error3_rate) error %d (%s)",
115 T_LOG("checking that the rest of the mapping is accessible...");
141 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error1_rate) error %d (%s)",
148 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error2_rate) error %d (%s)",
155 T_LOG("sysctlbyname(vm.fault_resilient_media_inject_error2_rate) error %d (%s)",

1234567