Home
last modified time | relevance | path

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

/xnu-8020.121.3/osfmk/kdp/ml/arm/
H A Dkdp_vm.c332 if ((cpudatap == NULL) || (processor->active_thread == NULL)) { in kern_collectth_state()
338 void *kpcb = processor->active_thread->machine.kpcb; in kern_collectth_state()
349 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state()
360 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state()
/xnu-8020.121.3/tools/lldbmacros/
H A Dprocess.py1396 active_thread = current_processor.active_thread
1397 if unsigned(active_thread) != 0:
1398 task_val = active_thread.t_tro.tro_task
1403 print(GetThreadSummary(active_thread, O=O))
1405 print(GetThreadBackTrace(active_thread, prefix="\t"))
1417 active_thread = current_processor.active_thread
1418 if unsigned(active_thread) != 0 :
1419 task_val = active_thread.t_tro.tro_task
1424 print(GetThreadSummary(active_thread, O=O))
1474 active_thread = processor.active_thread
[all …]
H A Dscheduler.py360 active_thread = current_processor.active_thread
363 if unsigned(active_thread) != 0 :
364 task_val = active_thread.t_tro.tro_task
365 proc_val = active_thread.t_tro.tro_proc
367 thread_id = active_thread.thread_id
382 …time_since_dispatch_us, time_since_debugger_us, t=active_thread, thread_id=thread_id, proc_name=pr…
385 …: 0x{t:<16x} 0x{thread_id:<8x} {proc_name:s}".format(last_dispatch, t=active_thread, thread_id=thr…
677 if (processor.active_thread != 0) :
679 print("\t" + GetThreadSummary(processor.active_thread) + "\n")
/xnu-8020.121.3/osfmk/kperf/
H A Dthread_samplers.c73 if ((last_processor != PROCESSOR_NULL) && (thread == last_processor->active_thread)) { in kperf_thread_info_runmode_legacy()
/xnu-8020.121.3/osfmk/kern/
H A Dthread_act.c1049 processor->active_thread == thread) { in thread_set_apc_ast_locked()
1245 processor->active_thread == thread) { in act_set_ast()
H A Dsched_dualq.c322 assert(processor->active_thread != NULL); in sched_dualq_processor_csw_check()
H A Dprocessor.h331 struct thread *active_thread; /* thread running on processor */ member
H A Dstartup.c949 processor->active_thread = thread; in load_context()
H A Dsched_amp.c319 assert(processor->active_thread != NULL); in sched_amp_processor_csw_check()
H A Dsched_traditional.c460 assert(processor->active_thread != NULL); in sched_traditional_processor_csw_check()
H A Dprocessor.c258 processor->active_thread = processor->startup_thread = processor->idle_thread = THREAD_NULL; in processor_init()
852 if (processor->active_thread == THREAD_NULL && in processor_start()
H A Dmachine.c446 assert(processor->active_thread == current_thread()); in processor_offline_intstack()
H A Dsched_prim.c2926 processor->active_thread = thread; in thread_invoke()
3075 processor->active_thread = thread; in thread_invoke()
4813 …if ((preempt = csw_check_locked(processor->active_thread, processor, pset, AST_NONE)) != AST_NONE)… in processor_setrun()
5610 assert(thread == processor->active_thread); in csw_check()
5756 thread_t thread = processor->active_thread; in ast_check()
5952 processor->active_thread == thread) { in set_sched_pri()
6899 last_processor->active_thread == thread) { in thread_set_eager_preempt()
H A Dsfi.c1100 processor->active_thread == thread) { in sfi_reevaluate()
H A Dsched_multiq.c1216 assert(processor->active_thread != NULL); in sched_multiq_processor_csw_check()
H A Dsched_clutch.c2946 assert(processor->active_thread != NULL); in sched_clutch_processor_csw_check()
3664 assert(processor->active_thread != NULL); in sched_edge_processor_csw_check()
H A Dkern_stackshot.c2495 last_processor->active_thread == thread); in classify_thread()
/xnu-8020.121.3/osfmk/i386/
H A Di386_init.c1101 if (current_processor()->active_thread != THREAD_NULL) { in do_init_slave()