Searched refs:thsnap (Results 1 – 2 of 2) sorted by relevance
763 struct thread_snapshot *thsnap; in telemetry_process_sample() local1031 …thsnap = (struct thread_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_po… in telemetry_process_sample()1032 bzero(thsnap, sizeof(*thsnap)); in telemetry_process_sample()1034 thsnap->snapshot_magic = STACKSHOT_THREAD_SNAPSHOT_MAGIC; in telemetry_process_sample()1035 thsnap->thread_id = thread_tid(thread); in telemetry_process_sample()1036 thsnap->state = thread->state; in telemetry_process_sample()1037 thsnap->priority = thread->base_pri; in telemetry_process_sample()1038 thsnap->sched_pri = thread->sched_pri; in telemetry_process_sample()1039 thsnap->sched_flags = thread->sched_flags; in telemetry_process_sample()1040 thsnap->ss_flags |= kStacksPCOnly; in telemetry_process_sample()[all …]
1898 thsnap = threadByID[str(tid)]1903 thsnap["userTime"] = GetSecondsFromMATime(threadsnap["ths_user_time"], timebase)1904 thsnap["id"] = threadsnap["ths_thread_id"]1905 thsnap["basePriority"] = threadsnap["ths_base_priority"]1906 thsnap["systemTime"] = GetSecondsFromMATime(threadsnap["ths_sys_time"], timebase)1907 thsnap["schedPriority"] = threadsnap["ths_sched_priority"]1908 thsnap["state"] = GetStateDescription(threadsnap['ths_state'])1909 thsnap["qosEffective"] = threadsnap["ths_eqos"]1910 thsnap["qosRequested"] = threadsnap["ths_rqos"]1913 thsnap["name"] = thdata["pth_name"];[all …]