Home
last modified time | relevance | path

Searched refs:active_thread (Results 1 – 20 of 20) sorted by relevance

/xnu-8796.101.5/tools/lldbmacros/
H A Dprocess.py1444 active_thread = current_processor.active_thread
1445 if unsigned(active_thread) != 0:
1446 task_val = active_thread.t_tro.tro_task
1451 print(GetThreadSummary(active_thread, O=O))
1453 print(GetThreadBackTrace(active_thread, prefix="\t"))
1465 active_thread = current_processor.active_thread
1466 if unsigned(active_thread) != 0 :
1467 task_val = active_thread.t_tro.tro_task
1472 print(GetThreadSummary(active_thread, O=O))
1522 active_thread = processor.active_thread
[all …]
H A Dscheduler.py363 active_thread = current_processor.active_thread
366 if unsigned(active_thread) != 0 :
367 task_val = active_thread.t_tro.tro_task
368 proc_val = active_thread.t_tro.tro_proc
370 thread_id = active_thread.thread_id
385 …time_since_dispatch_us, time_since_debugger_us, t=active_thread, thread_id=thread_id, proc_name=pr…
388 …: 0x{t:<16x} 0x{thread_id:<8x} {proc_name:s}".format(last_dispatch, t=active_thread, thread_id=thr…
681 if (processor.active_thread != 0) :
683 print("\t" + GetThreadSummary(processor.active_thread) + "\n")
H A Drecount.py420 active_thread = unsigned(pr.active_thread)
421 if active_thread != 0:
423 thread_plan, [active_thread], indent=True, O=O)
/xnu-8796.101.5/osfmk/kdp/ml/arm/
H A Dkdp_vm.c333 if ((cpudatap == NULL) || (processor->active_thread == NULL)) { in kern_collectth_state()
339 void *kpcb = processor->active_thread->machine.kpcb; in kern_collectth_state()
350 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state()
361 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state()
/xnu-8796.101.5/osfmk/kern/
H A Dthread_act.c1092 processor->active_thread == thread) { in thread_set_apc_ast_locked()
1335 processor->active_thread == thread) { in act_set_ast()
1444 processor->active_thread == thread) { in act_set_ast_reset_pcs()
H A Dsched_dualq.c322 assert(processor->active_thread != NULL); in sched_dualq_processor_csw_check()
H A Dstartup.c928 processor->active_thread = thread; in load_context()
H A Dprocessor.h333 struct thread *active_thread; /* thread running on processor */ member
H A Dsched_traditional.c460 assert(processor->active_thread != NULL); in sched_traditional_processor_csw_check()
H A Dsched_amp.c325 assert(processor->active_thread != NULL); in sched_amp_processor_csw_check()
H A Dprocessor.c258 processor->active_thread = processor->startup_thread = processor->idle_thread = THREAD_NULL; in processor_init()
882 if (processor->active_thread == THREAD_NULL && in processor_startup()
H A Dsfi.c1105 processor->active_thread == thread) { in sfi_reevaluate()
H A Dsched_prim.c3030 processor->active_thread = thread; in thread_invoke()
3172 processor->active_thread = thread; in thread_invoke()
4949 …if ((preempt = csw_check_locked(processor->active_thread, processor, pset, AST_NONE)) != AST_NONE)… in processor_setrun()
5747 assert(thread == processor->active_thread); in csw_check()
5865 thread_t thread = processor->active_thread; in ast_check()
6036 processor->active_thread == thread) { in set_sched_pri()
6986 last_processor->active_thread == thread) { in thread_set_eager_preempt()
H A Drecount.c871 thread_t thread = processor->active_thread; in recount_kernel_transition()
H A Dsched_multiq.c1216 assert(processor->active_thread != NULL); in sched_multiq_processor_csw_check()
H A Dmachine.c580 assert(processor->active_thread == current_thread()); in processor_offline_intstack()
H A Dsched_clutch.c2977 assert(processor->active_thread != NULL); in sched_clutch_processor_csw_check()
3654 assert(processor->active_thread != NULL); in sched_edge_processor_csw_check()
H A Dkern_stackshot.c2604 last_processor->active_thread == thread); in classify_thread()
/xnu-8796.101.5/osfmk/kperf/
H A Dthread_samplers.c72 if ((last_processor != PROCESSOR_NULL) && (thread == last_processor->active_thread)) { in kperf_thread_info_runmode_legacy()
/xnu-8796.101.5/osfmk/i386/
H A Di386_init.c1104 if (current_processor()->active_thread != THREAD_NULL) { in do_init_slave()