Searched refs:pelem (Results 1 – 4 of 4) sorted by relevance
/linux/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 324 struct tstamp_data *pelem; in get_tstamp_elem() local 330 pelem = bpf_map_lookup_elem(&tstamp_cpu, &idx); in get_tstamp_elem() 332 if (pelem && pelem->lock) in get_tstamp_elem() 333 pelem = NULL; in get_tstamp_elem() 334 return pelem; in get_tstamp_elem() 338 pelem = bpf_map_lookup_elem(&tstamp, &pid); in get_tstamp_elem() 340 if (pelem && pelem->lock) in get_tstamp_elem() 343 if (pelem == NULL) { in get_tstamp_elem() 351 pelem = bpf_map_lookup_elem(&tstamp, &pid); in get_tstamp_elem() 352 if (pelem == NULL) { in get_tstamp_elem() [all …]
|
H A D | kwork_top.bpf.c | 142 struct time_data *pelem; in on_sched_out() local 144 pelem = bpf_task_storage_get(&kwork_top_task_time, task, NULL, 0); in on_sched_out() 145 if (pelem) in on_sched_out() 146 delta = ts - pelem->timestamp; in on_sched_out() 162 struct time_data *pelem; in on_sched_in() local 164 pelem = bpf_task_storage_get(&kwork_top_task_time, task, NULL, in on_sched_in() 166 if (pelem) in on_sched_in() 167 pelem->timestamp = ts; in on_sched_in() 233 struct time_data *pelem; in on_irq_handler_exit() local 255 pelem = bpf_map_lookup_elem(&kwork_top_irq_time, &key); in on_irq_handler_exit() [all …]
|
H A D | off_cpu.bpf.c | 191 struct tstamp_data *pelem; in off_cpu_stat() local 201 pelem = bpf_task_storage_get(&tstamp, prev, NULL, in off_cpu_stat() 203 if (!pelem) in off_cpu_stat() 206 pelem->timestamp = ts; in off_cpu_stat() 207 pelem->state = state; in off_cpu_stat() 208 pelem->stack_id = stack_id; in off_cpu_stat() 211 pelem = bpf_task_storage_get(&tstamp, next, NULL, 0); in off_cpu_stat() 213 if (pelem && pelem->timestamp) { in off_cpu_stat() 217 .stack_id = pelem->stack_id, in off_cpu_stat() 218 .state = pelem->state, in off_cpu_stat() [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | compaction-times.py | 191 for i, pelem in enumerate(self.list): 192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
|