Home
last modified time | relevance | path

Searched refs:stack_id (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/bpf_skel/
A Dlock_data.h10 s32 stack_id; // Identifier for `owner_stat`, which stores as value in `owner_stacks` member
17 s32 stack_id; member
21 s32 stack_id; member
A Doff_cpu.bpf.c30 __u32 stack_id; member
39 __u32 stack_id; member
260 __u32 stack_id; in off_cpu_stat() local
268 stack_id = bpf_get_stackid(ctx, &stacks, in off_cpu_stat()
278 pelem->stack_id = stack_id; in off_cpu_stat()
284 …if (stack_id > 0 && bpf_get_stack(ctx, &pelem->stack, MAX_STACKS * sizeof(u64), BPF_F_USER_STACK))… in off_cpu_stat()
297 .stack_id = pelem->stack_id, in off_cpu_stat()
A Dlock_contention.bpf.c504 .stack_id = id, in update_owner_stat()
586 .stack_id = id, in contention_begin()
598 if (id != otdata->stack_id) { in contention_begin()
603 otdata->stack_id = id; in contention_begin()
609 if (pelem->stack_id < 0) in contention_begin()
734 if (id != otdata->stack_id) in contention_end()
735 otdata->stack_id = id; in contention_end()
748 otdata->stack_id = -1; in contention_end()
755 key.stack_id = pelem->stack_id; in contention_end()
766 key.stack_id = pelem->stack_id; in contention_end()
[all …]
/tools/perf/scripts/python/
A Dgecko.py87 stack_id: Optional[StackID]
132 stack_id = self.stackMap.get(key)
133 if stack_id is None:
135 stack_id = len(self.stackTable)
137 self.stackMap[key] = stack_id
138 return stack_id
192 self.samples.append(Sample(stack_id=prefix_stack_id,
/tools/perf/util/
A Dbpf_lock_contention.c451 stat_key.stack_id = ts_data->stack_id; in update_lock_stat()
659 s32 stack_id; in pop_owner_stack_trace() local
677 bpf_map_lookup_elem(stacks_fd, stack_trace, &stack_id); in pop_owner_stack_trace()
678 ckey.stack_id = stack_id; in pop_owner_stack_trace()
765 bpf_map_lookup_elem(stack, &key.stack_id, stack_trace); in lock_contention_read()
775 ls_key = key.stack_id; in lock_contention_read()
A Dbpf_off_cpu.c31 u32 stack_id; member
395 bpf_map_lookup_elem(stack, &key.stack_id, &off_cpu_raw[i + 2]); in off_cpu_write()

Completed in 12 milliseconds