Searched refs:pelem (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 275 struct tstamp_data *pelem; in contention_begin() local 281 pelem = bpf_map_lookup_elem(&tstamp, &pid); in contention_begin() 282 if (pelem && pelem->lock) in contention_begin() 285 if (pelem == NULL) { in contention_begin() 289 pelem = bpf_map_lookup_elem(&tstamp, &pid); in contention_begin() 290 if (pelem == NULL) { in contention_begin() 296 pelem->timestamp = bpf_ktime_get_ns(); in contention_begin() 297 pelem->lock = (__u64)ctx[0]; in contention_begin() 298 pelem->flags = (__u32)ctx[1]; in contention_begin() 301 pelem->stack_id = bpf_get_stackid(ctx, &stacks, in contention_begin() [all …]
|
D | off_cpu.bpf.c | 190 struct tstamp_data *pelem; in off_cpu_stat() local 200 pelem = bpf_task_storage_get(&tstamp, prev, NULL, in off_cpu_stat() 202 if (!pelem) in off_cpu_stat() 205 pelem->timestamp = ts; in off_cpu_stat() 206 pelem->state = state; in off_cpu_stat() 207 pelem->stack_id = stack_id; in off_cpu_stat() 210 pelem = bpf_task_storage_get(&tstamp, next, NULL, 0); in off_cpu_stat() 212 if (pelem && pelem->timestamp) { in off_cpu_stat() 216 .stack_id = pelem->stack_id, in off_cpu_stat() 217 .state = pelem->state, in off_cpu_stat() [all …]
|
/Linux-v6.6/tools/perf/scripts/python/ |
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))
|