Searched refs:stack_id (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/perf/util/bpf_skel/ |
| H A D | off_cpu.bpf.c | 30 __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 D | lock_contention.bpf.c | 504 .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() 607 pelem->stack_id = bpf_get_stackid(ctx, &stacks, in contention_begin() 609 if (pelem->stack_id < 0) in contention_begin() 685 update_owner_stat(otdata->stack_id, timestamp - otdata->timestamp, pelem->flags); in contention_end() 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() [all …]
|
| H A D | lock_data.h | 10 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/tools/perf/scripts/python/ |
| H A D | gecko.py | 87 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 D | bpf_lock_contention.c | 454 stat_key.stack_id = ts_data->stack_id; in update_lock_stat() 662 s32 stack_id; in pop_owner_stack_trace() local 680 bpf_map_lookup_elem(stacks_fd, stack_trace, &stack_id); in pop_owner_stack_trace() 681 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()
|
| H A D | bpf_off_cpu.c | 32 u32 stack_id; member 396 bpf_map_lookup_elem(stack, &key.stack_id, &off_cpu_raw[i + 2]); in off_cpu_write()
|
| /linux/arch/x86/events/intel/ |
| H A D | uncore_snbep.c | 4724 int die, stack_id, ret = -EPERM; in sad_cfg_iio_topology() local 4735 stack_id = SAD_CONTROL_STACK_ID(sad_cfg); in sad_cfg_iio_topology() 4736 if (die < 0 || stack_id >= type->num_boxes) { in sad_cfg_iio_topology() 4742 stack_id = sad_pmon_mapping[stack_id]; in sad_cfg_iio_topology() 4744 type->topology[die][stack_id].iio->segment = pci_domain_nr(dev->bus); in sad_cfg_iio_topology() 4745 type->topology[die][stack_id].pmu_idx = stack_id; in sad_cfg_iio_topology() 4746 type->topology[die][stack_id].iio->pci_bus_no = dev->bus->number; in sad_cfg_iio_topology()
|