Searched refs:tsnap (Results 1 – 2 of 2) sorted by relevance
810 struct task_snapshot *tsnap; in telemetry_process_sample() local971 …tsnap = (struct task_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posit… in telemetry_process_sample()972 bzero(tsnap, sizeof(*tsnap)); in telemetry_process_sample()973 tsnap->snapshot_magic = STACKSHOT_TASK_SNAPSHOT_MAGIC; in telemetry_process_sample()974 tsnap->pid = proc_pid(p); in telemetry_process_sample()975 tsnap->uniqueid = proc_uniqueid(p); in telemetry_process_sample()977 tsnap->user_time_in_terminated_threads = times.rtm_user; in telemetry_process_sample()978 tsnap->system_time_in_terminated_threads = times.rtm_system; in telemetry_process_sample()979 tsnap->suspend_count = task->suspend_count; in telemetry_process_sample()980 tsnap->task_size = (typeof(tsnap->task_size))(get_task_phys_footprint(task) / PAGE_SIZE); in telemetry_process_sample()[all …]
1873 tsnap = processByPid[str(pid)]1913 tsnap["pid"] = tasksnap["ts_pid"]1915 tsnap["asid"] = piddata["ts_asid"]1921 tsnap["pageTables"] = pagetables1925 tsnap["residentMemoryBytes"] = tasksnap["ts_task_size"]1926 tsnap["timesDidThrottle"] = tasksnap["ts_did_throttle"]1927 …tsnap["systemTimeTask"] = GetSecondsFromMATime(tasksnap["ts_system_time_in_terminated_th"], timeba…1928 tsnap["pageIns"] = tasksnap["ts_pageins"]1929 tsnap["pageFaults"] = tasksnap["ts_faults"]1930 …tsnap["userTimeTask"] = GetSecondsFromMATime(tasksnap["ts_user_time_in_terminated_thre"], timebase)[all …]