Searched refs:tsnap (Results 1 – 2 of 2) sorted by relevance
808 struct task_snapshot *tsnap; in telemetry_process_sample() local969 …tsnap = (struct task_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posit… in telemetry_process_sample()970 bzero(tsnap, sizeof(*tsnap)); in telemetry_process_sample()971 tsnap->snapshot_magic = STACKSHOT_TASK_SNAPSHOT_MAGIC; in telemetry_process_sample()972 tsnap->pid = proc_pid(p); in telemetry_process_sample()973 tsnap->uniqueid = proc_uniqueid(p); in telemetry_process_sample()975 tsnap->user_time_in_terminated_threads = times.rtm_user; in telemetry_process_sample()976 tsnap->system_time_in_terminated_threads = times.rtm_system; in telemetry_process_sample()977 tsnap->suspend_count = task->suspend_count; in telemetry_process_sample()978 tsnap->task_size = (typeof(tsnap->task_size))(get_task_phys_footprint(task) / PAGE_SIZE); in telemetry_process_sample()[all …]
1935 tsnap = processByPid[str(pid)]1975 tsnap["pid"] = tasksnap["ts_pid"]1977 tsnap["asid"] = piddata["ts_asid"]1983 tsnap["pageTables"] = pagetables1987 tsnap["residentMemoryBytes"] = tasksnap["ts_task_size"]1988 tsnap["timesDidThrottle"] = tasksnap["ts_did_throttle"]1989 …tsnap["systemTimeTask"] = GetSecondsFromMATime(tasksnap["ts_system_time_in_terminated_th"], timeba…1990 tsnap["pageIns"] = tasksnap["ts_pageins"]1991 tsnap["pageFaults"] = tasksnap["ts_faults"]1992 …tsnap["userTimeTask"] = GetSecondsFromMATime(tasksnap["ts_user_time_in_terminated_thre"], timebase)[all …]