Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c22 __u32 stack_id; member
30 __u32 stack_id; member
190 __u32 stack_id; in off_cpu_stat() local
198 stack_id = bpf_get_stackid(ctx, &stacks, in off_cpu_stat()
208 pelem->stack_id = stack_id; in off_cpu_stat()
217 .stack_id = pelem->stack_id, in off_cpu_stat()
H A Dlock_contention.bpf.c461 .stack_id = id, in update_owner_stat()
543 .stack_id = id, in contention_begin()
555 if (id != otdata->stack_id) { in contention_begin()
560 otdata->stack_id = id; in contention_begin()
566 if (pelem->stack_id < 0) in contention_begin()
691 if (id != otdata->stack_id) in contention_end()
692 otdata->stack_id = id; in contention_end()
705 otdata->stack_id = -1; in contention_end()
712 key.stack_id = pelem->stack_id; in contention_end()
723 key.stack_id = pelem->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
17 s32 stack_id; member
21 s32 stack_id; member
/linux-6.15/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-6.15/tools/perf/util/
H A Dbpf_lock_contention.c353 stat_key.stack_id = ts_data->stack_id; in update_lock_stat()
556 s32 stack_id; in pop_owner_stack_trace() local
574 bpf_map_lookup_elem(stacks_fd, stack_trace, &stack_id); in pop_owner_stack_trace()
575 ckey.stack_id = stack_id; in pop_owner_stack_trace()
662 bpf_map_lookup_elem(stack, &key.stack_id, stack_trace); in lock_contention_read()
672 ls_key = key.stack_id; in lock_contention_read()
H A Dbpf_off_cpu.c29 u32 stack_id; member
369 bpf_map_lookup_elem(stack, &key.stack_id, &data.array[n + 2]); in off_cpu_write()
/linux-6.15/arch/x86/events/intel/
H A Duncore_snbep.c4723 int die, stack_id, ret = -EPERM; in sad_cfg_iio_topology() local
4734 stack_id = SAD_CONTROL_STACK_ID(sad_cfg); in sad_cfg_iio_topology()
4735 if (die < 0 || stack_id >= type->num_boxes) { in sad_cfg_iio_topology()
4741 stack_id = sad_pmon_mapping[stack_id]; in sad_cfg_iio_topology()
4743 type->topology[die][stack_id].iio->segment = pci_domain_nr(dev->bus); in sad_cfg_iio_topology()
4744 type->topology[die][stack_id].pmu_idx = stack_id; in sad_cfg_iio_topology()
4745 type->topology[die][stack_id].iio->pci_bus_no = dev->bus->number; in sad_cfg_iio_topology()