Home
last modified time | relevance | path

Searched refs:thsnap (Results 1 – 2 of 2) sorted by relevance

/xnu-10002.81.5/osfmk/kern/
H A Dtelemetry.c811 struct thread_snapshot *thsnap; in telemetry_process_sample() local
1089thsnap = (struct thread_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_po… in telemetry_process_sample()
1090 bzero(thsnap, sizeof(*thsnap)); in telemetry_process_sample()
1092 thsnap->snapshot_magic = STACKSHOT_THREAD_SNAPSHOT_MAGIC; in telemetry_process_sample()
1093 thsnap->thread_id = thread_tid(thread); in telemetry_process_sample()
1094 thsnap->state = thread->state; in telemetry_process_sample()
1095 thsnap->priority = thread->base_pri; in telemetry_process_sample()
1096 thsnap->sched_pri = thread->sched_pri; in telemetry_process_sample()
1097 thsnap->sched_flags = thread->sched_flags; in telemetry_process_sample()
1098 thsnap->ss_flags |= kStacksPCOnly; in telemetry_process_sample()
[all …]
/xnu-10002.81.5/tools/lldbmacros/
H A Dkcdata.py1940 thsnap = threadByID[str(tid)]
1945 thsnap["userTime"] = GetSecondsFromMATime(threadsnap["ths_user_time"], timebase)
1946 thsnap["id"] = threadsnap["ths_thread_id"]
1947 thsnap["basePriority"] = threadsnap["ths_base_priority"]
1948 thsnap["systemTime"] = GetSecondsFromMATime(threadsnap["ths_sys_time"], timebase)
1949 thsnap["schedPriority"] = threadsnap["ths_sched_priority"]
1950 thsnap["state"] = GetStateDescription(threadsnap['ths_state'])
1951 thsnap["qosEffective"] = threadsnap["ths_eqos"]
1952 thsnap["qosRequested"] = threadsnap["ths_rqos"]
1955 thsnap["name"] = thdata["pth_name"];
[all …]