Searched refs:tsnap (Results 1 – 2 of 2) sorted by relevance
745 struct task_snapshot *tsnap; in telemetry_process_sample() local906 …tsnap = (struct task_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posit… in telemetry_process_sample()907 bzero(tsnap, sizeof(*tsnap)); in telemetry_process_sample()908 tsnap->snapshot_magic = STACKSHOT_TASK_SNAPSHOT_MAGIC; in telemetry_process_sample()909 tsnap->pid = proc_pid(p); in telemetry_process_sample()910 tsnap->uniqueid = proc_uniqueid(p); in telemetry_process_sample()911 tsnap->user_time_in_terminated_threads = task->total_user_time; in telemetry_process_sample()912 tsnap->system_time_in_terminated_threads = task->total_system_time; in telemetry_process_sample()913 tsnap->suspend_count = task->suspend_count; in telemetry_process_sample()914 tsnap->task_size = (typeof(tsnap->task_size))(get_task_phys_footprint(task) / PAGE_SIZE); in telemetry_process_sample()[all …]
1745 tsnap = processByPid[str(pid)]1778 tsnap["pid"] = tasksnap["ts_pid"]1780 tsnap["asid"] = piddata["ts_asid"]1786 tsnap["pageTables"] = pagetables1788 tsnap["residentMemoryBytes"] = tasksnap["ts_task_size"]1789 tsnap["timesDidThrottle"] = tasksnap["ts_did_throttle"]1790 …tsnap["systemTimeTask"] = GetSecondsFromMATime(tasksnap["ts_system_time_in_terminated_th"], timeba…1791 tsnap["pageIns"] = tasksnap["ts_pageins"]1792 tsnap["pageFaults"] = tasksnap["ts_faults"]1793 …tsnap["userTimeTask"] = GetSecondsFromMATime(tasksnap[ "ts_user_time_in_terminated_thre"], timeba…[all …]