Home
last modified time | relevance | path

Searched refs:threadid (Results 1 – 14 of 14) sorted by relevance

/xnu-11215/tools/trace/
H A Dwqtrace.lua42 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 Dktruss.lua18 sess:procname_for_threadid(start.threadid),
19 sess:pid_for_threadid(start.threadid), arg[1], start[1], start[2],
H A Dkqtrace.lua32 type, secs, proc, buf.pid, buf.threadid, buf.debugname)
/xnu-11215/tests/ktrace/
H A Dkperf_backtracing_tests.c105 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 Dkperf_tests.c234 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 Dkdebug_tests.c1478 if (ktrace_get_pid_for_thread(ktsess, tp->threadid) ==
1855 if (tp->threadid == tc_infos[i].thread_id) {
/xnu-11215/san/tools/
H A Dkstksz81 local event = self.events_by_tid[sample.threadid]
91 local event = self.events_by_tid[sample.threadid]
/xnu-11215/tools/lldbmacros/usertaskdebugging/
H A Dgdbserver.py164 threadid = int(args[1].split(':')[-1], 16)
165 bytes = self.process.getRegisterDataForThread(threadid, regnum)
/xnu-11215/libsyscall/wrappers/libproc/
H A Dlibproc.c328 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 Dlibproc_internal.h71 int proc_pidbind(int pid, uint64_t threadid, int bind);
/xnu-11215/tests/sched/
H A Doverloaded_runqueue.c206 offending_thread = ktrace_get_name_for_thread(read_session, e->threadid); in search_for_interrupt_disable_timeout_tracepoint()
/xnu-11215/bsd/sys/
H A Dkdebug_kernel.h216 uintptr_t threadid);
/xnu-11215/tests/
H A Dstackshot_tests.m1102 __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 Dkdebug.c635 uintptr_t threadid in kernel_debug_enter() argument
657 .arg5 = threadid, in kernel_debug_enter()