Searched refs:tksn (Results 1 – 2 of 2) sorted by relevance
40 kperf_task_snapshot_sample(task_t task, struct kperf_task_snapshot *tksn) in kperf_task_snapshot_sample() argument44 assert(tksn != NULL); in kperf_task_snapshot_sample()46 tksn->kptksn_flags = 0; in kperf_task_snapshot_sample()48 tksn->kptksn_flags |= KPERF_TASK_FLAG_DARWIN_BG; in kperf_task_snapshot_sample()51 tksn->kptksn_flags |= KPERF_TASK_FLAG_FOREGROUND; in kperf_task_snapshot_sample()54 tksn->kptksn_flags |= KPERF_TASK_FLAG_BOOSTED; in kperf_task_snapshot_sample()60 tksn->kptksn_flags |= KPERF_TASK_FLAG_DIRTY; in kperf_task_snapshot_sample()63 tksn->kptksn_flags |= KPERF_TASK_FLAG_DIRTY_TRACKED; in kperf_task_snapshot_sample()66 tksn->kptksn_flags |= KPERF_TASK_ALLOW_IDLE_EXIT; in kperf_task_snapshot_sample()70 tksn->kptksn_suspend_count = task->suspend_count; in kperf_task_snapshot_sample()[all …]
53 void kperf_task_snapshot_sample(task_t task, struct kperf_task_snapshot *tksn);54 void kperf_task_snapshot_log(struct kperf_task_snapshot *tksn);