Searched refs:threadid (Results 1 – 14 of 14) sorted by relevance
| /xnu-11215/tools/trace/ |
| H A D | wqtrace.lua | 42 prefix, secs, proc, buf.pid, buf.threadid, buf.debugname) 200 runthread_time_map[buf.threadid] = buf.timestamp; 201 runthread_cputime_map[buf.threadid] = trace.cputime_for_thread(buf.threadid); 202 elseif runthread_time_map[buf.threadid] then 203 local time = buf.timestamp - runthread_time_map[buf.threadid] 204 local cputime = trace.cputime_for_thread(buf.threadid) - runthread_cputime_map[buf.threadid] 212 runthread_time_map[buf.threadid] = 0 213 runthread_cputime_map[buf.threadid] = 0
|
| H A D | ktruss.lua | 18 sess:procname_for_threadid(start.threadid), 19 sess:pid_for_threadid(start.threadid), arg[1], start[1], start[2],
|
| H A D | kqtrace.lua | 32 type, secs, proc, buf.pid, buf.threadid, buf.debugname)
|
| /xnu-11215/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 105 if (tid != 0 && tid != tp->threadid) { in expect_backtrace() 110 tp->threadid); in expect_backtrace() 114 kern ? "kernel" : "user", tp->threadid); in expect_backtrace() 136 if (tid != 0 && tid != tp->threadid) { in expect_backtrace() 515 if (tp->threadid != tid) { 570 if (tp->threadid != tid) { 582 if (tp->threadid != tid && !saw_stack) {
|
| H A D | kperf_tests.c | 234 idle_tids[tp->cpuid] = tp->threadid; 237 tp->cpuid, tp->threadid); 311 T_LOG("sampled additional thread %llx on CPU %d", tp->threadid, 315 if (tp->threadid == idle_tids[tp->cpuid]) { 1142 T_LOG("%llx (%s)\n", tp->threadid, tp->command);
|
| H A D | kdebug_tests.c | 1478 if (ktrace_get_pid_for_thread(ktsess, tp->threadid) == 1855 if (tp->threadid == tc_infos[i].thread_id) {
|
| /xnu-11215/san/tools/ |
| H A D | kstksz | 81 local event = self.events_by_tid[sample.threadid] 91 local event = self.events_by_tid[sample.threadid]
|
| /xnu-11215/tools/lldbmacros/usertaskdebugging/ |
| H A D | gdbserver.py | 164 threadid = int(args[1].split(':')[-1], 16) 165 bytes = self.process.getRegisterDataForThread(threadid, regnum)
|
| /xnu-11215/libsyscall/wrappers/libproc/ |
| H A D | libproc.c | 328 uint64_t threadid = __thread_selfid(); in proc_current_thread_schedinfo() local 330 …retval = __proc_info(PROC_INFO_CALL_PIDINFO, pid, PROC_PIDTHREADSCHEDINFO, threadid, buffer, buffe… in proc_current_thread_schedinfo() 861 proc_pidbind(int pid, uint64_t threadid, int bind) in proc_pidbind() argument 875 …FECYCLE, PROC_POLICY_APPLIFE_PIDBIND, (proc_policy_attribute_t*)&state, passpid, threadid) != -1) { in proc_pidbind()
|
| H A D | libproc_internal.h | 71 int proc_pidbind(int pid, uint64_t threadid, int bind);
|
| /xnu-11215/tests/sched/ |
| H A D | overloaded_runqueue.c | 206 offending_thread = ktrace_get_name_for_thread(read_session, e->threadid); in search_for_interrupt_disable_timeout_tracepoint()
|
| /xnu-11215/bsd/sys/ |
| H A D | kdebug_kernel.h | 216 uintptr_t threadid);
|
| /xnu-11215/tests/ |
| H A D | stackshot_tests.m | 1102 __block uint64_t threadid = 0; 1104 T_QUIET; T_ASSERT_POSIX_ZERO(pthread_threadid_np(pthread, &threadid), "pthread_threadid_np"); 1110 asyncstack_expected_threadid_key: @(threadid), 2864 T_QUIET; T_ASSERT_TRUE(threadid_num != nil || pid_num != nil, "expected SRP threadid or pid"); 2873 T_LOG("looking for SRP pid: %d threadid: %llu", srp_expected_pid, srp_expected_threadid); 2911 T_QUIET; T_ASSERT_NOTNULL(threadid_id, "asyncstack threadid provided"); 3274 /* we found something that is blocking the correct threadid */ 3547 T_QUIET; T_ASSERT_TRUE(found_asyncstack, "found async stack threadid");
|
| /xnu-11215/bsd/kern/ |
| H A D | kdebug.c | 635 uintptr_t threadid in kernel_debug_enter() argument 657 .arg5 = threadid, in kernel_debug_enter()
|