• Home
  • Raw
  • Download

Lines Matching refs:work_list

129 	struct list_head	work_list;  member
1026 INIT_LIST_HEAD(&atoms->work_list); in thread_atoms_insert()
1056 list_add_tail(&atom->list, &atoms->work_list); in add_sched_out_event()
1066 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event()
1068 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event()
1080 if (list_empty(&atoms->work_list)) in add_sched_in_event()
1083 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event()
1239 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event()
1241 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event()
1307 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event()
1309 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_migrate_task_event()
1322 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) in output_lat_thread() argument
1329 if (!work_list->nb_atoms) in output_lat_thread()
1334 if (!strcmp(thread__comm_str(work_list->thread), "swapper")) in output_lat_thread()
1337 sched->all_runtime += work_list->total_runtime; in output_lat_thread()
1338 sched->all_count += work_list->nb_atoms; in output_lat_thread()
1340 if (work_list->num_merged > 1) in output_lat_thread()
1341 ret = printf(" %s:(%d) ", thread__comm_str(work_list->thread), work_list->num_merged); in output_lat_thread()
1343 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); in output_lat_thread()
1348 avg = work_list->total_lat / work_list->nb_atoms; in output_lat_thread()
1349 timestamp__scnprintf_usec(work_list->max_lat_start, max_lat_start, sizeof(max_lat_start)); in output_lat_thread()
1350 timestamp__scnprintf_usec(work_list->max_lat_end, max_lat_end, sizeof(max_lat_end)); in output_lat_thread()
1353 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread()
1354 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread()
1355 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread()
3140 list_splice(&data->work_list, &this->work_list); in __merge_work_atoms()
3190 struct work_atoms *work_list; in perf_sched__lat() local
3192 work_list = rb_entry(next, struct work_atoms, node); in perf_sched__lat()
3193 output_lat_thread(sched, work_list); in perf_sched__lat()
3195 thread__zput(work_list->thread); in perf_sched__lat()