atoms 63 tools/perf/builtin-sched.c struct sched_atom **atoms; atoms 366 tools/perf/builtin-sched.c task->atoms = realloc(task->atoms, size); atoms 367 tools/perf/builtin-sched.c BUG_ON(!task->atoms); atoms 369 tools/perf/builtin-sched.c task->atoms[idx] = event; atoms 379 tools/perf/builtin-sched.c return task->atoms[task->nr_events - 1]; atoms 643 tools/perf/builtin-sched.c perf_sched__process_event(sched, this_task->atoms[i]); atoms 967 tools/perf/builtin-sched.c struct work_atoms *atoms; atoms 970 tools/perf/builtin-sched.c atoms = container_of(node, struct work_atoms, node); atoms 972 tools/perf/builtin-sched.c cmp = thread_lat_cmp(sort_list, &key, atoms); atoms 978 tools/perf/builtin-sched.c BUG_ON(thread != atoms->thread); atoms 979 tools/perf/builtin-sched.c return atoms; atoms 1015 tools/perf/builtin-sched.c struct work_atoms *atoms = zalloc(sizeof(*atoms)); atoms 1016 tools/perf/builtin-sched.c if (!atoms) { atoms 1021 tools/perf/builtin-sched.c atoms->thread = thread__get(thread); atoms 1022 tools/perf/builtin-sched.c INIT_LIST_HEAD(&atoms->work_list); atoms 1023 tools/perf/builtin-sched.c __thread_latency_insert(&sched->atom_root, atoms, &sched->cmp_pid); atoms 1035 tools/perf/builtin-sched.c add_sched_out_event(struct work_atoms *atoms, atoms 1052 tools/perf/builtin-sched.c list_add_tail(&atom->list, &atoms->work_list); atoms 1057 tools/perf/builtin-sched.c add_runtime_event(struct work_atoms *atoms, u64 delta, atoms 1062 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); atoms 1064 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); atoms 1067 tools/perf/builtin-sched.c atoms->total_runtime += delta; atoms 1071 tools/perf/builtin-sched.c add_sched_in_event(struct work_atoms *atoms, u64 timestamp) atoms 1076 tools/perf/builtin-sched.c if (list_empty(&atoms->work_list)) atoms 1079 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); atoms 1093 tools/perf/builtin-sched.c atoms->total_lat += delta; atoms 1094 tools/perf/builtin-sched.c if (delta > atoms->max_lat) { atoms 1095 tools/perf/builtin-sched.c atoms->max_lat = delta; atoms 1096 tools/perf/builtin-sched.c atoms->max_lat_at = timestamp; atoms 1098 tools/perf/builtin-sched.c atoms->nb_atoms++; atoms 1179 tools/perf/builtin-sched.c struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); atoms 1187 tools/perf/builtin-sched.c if (!atoms) { atoms 1190 tools/perf/builtin-sched.c atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); atoms 1191 tools/perf/builtin-sched.c if (!atoms) { atoms 1195 tools/perf/builtin-sched.c if (add_sched_out_event(atoms, 'R', timestamp)) atoms 1199 tools/perf/builtin-sched.c add_runtime_event(atoms, runtime, timestamp); atoms 1212 tools/perf/builtin-sched.c struct work_atoms *atoms; atoms 1221 tools/perf/builtin-sched.c atoms = thread_atoms_search(&sched->atom_root, wakee, &sched->cmp_pid); atoms 1222 tools/perf/builtin-sched.c if (!atoms) { atoms 1225 tools/perf/builtin-sched.c atoms = thread_atoms_search(&sched->atom_root, wakee, &sched->cmp_pid); atoms 1226 tools/perf/builtin-sched.c if (!atoms) { atoms 1230 tools/perf/builtin-sched.c if (add_sched_out_event(atoms, 'S', timestamp)) atoms 1234 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); atoms 1236 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); atoms 1274 tools/perf/builtin-sched.c struct work_atoms *atoms; atoms 1288 tools/perf/builtin-sched.c atoms = thread_atoms_search(&sched->atom_root, migrant, &sched->cmp_pid); atoms 1289 tools/perf/builtin-sched.c if (!atoms) { atoms 1293 tools/perf/builtin-sched.c atoms = thread_atoms_search(&sched->atom_root, migrant, &sched->cmp_pid); atoms 1294 tools/perf/builtin-sched.c if (!atoms) { atoms 1298 tools/perf/builtin-sched.c if (add_sched_out_event(atoms, 'R', timestamp)) atoms 1302 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); atoms 1304 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list);