Home
last modified time | relevance | path

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

/linux/tools/perf/util/bpf_skel/
H 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()
H A Dlock_contention.bpf.c565 .stack_id = id, in contention_begin()
649 .stack_id = id, in contention_end()
661 if (id != otdata->stack_id) { in contention_end()
666 otdata->stack_id = id; in contention_end()
670 pelem->stack_id = bpf_get_stackid(ctx, &stacks, in contention_end()
672 if (pelem->stack_id < 0) in contention_end()
748 update_owner_stat(otdata->stack_id, timestamp - otdata->timestamp, pelem->flags); in contention_end()
797 if (id != otdata->stack_id) in contention_end()
798 otdata->stack_id = id; in contention_end()
811 otdata->stack_id in contention_end()
[all...]
H A Dlock_data.h10 s32 stack_id; // Identifier for `owner_stat`, which stores as value in `owner_stacks` member
18 s32 stack_id;
22 s32 stack_id;
17 s32 stack_id; global() member
21 s32 stack_id; global() member
/linux/tools/perf/scripts/python/
H 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,
/linux/tools/perf/util/
H A Dbpf_lock_contention.c464 stat_key.stack_id = ts_data->stack_id; in update_lock_stat()
672 s32 stack_id; in pop_owner_stack_trace()
690 bpf_map_lookup_elem(stacks_fd, stack_trace, &stack_id); in pop_owner_stack_trace()
691 ckey.stack_id = stack_id; in pop_owner_stack_trace()
775 bpf_map_lookup_elem(stack, &key.stack_id, stack_trace); in lock_contention_read()
785 ls_key = key.stack_id; in lock_contention_read()
665 s32 stack_id; pop_owner_stack_trace() local
H A Dbpf_off_cpu.c34 u32 stack_id;
398 bpf_map_lookup_elem(stack, &key.stack_id, &off_cpu_raw[i + 2]); in off_cpu_write()
32 u32 stack_id; global() member