Searched refs:perf_branch_entry (Results 1 – 18 of 18) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | get_branch_snapshot.c | 16 struct perf_branch_entry entries[ENTRY_CNT] = {}; 29 total_entries /= sizeof(struct perf_branch_entry); in BPF_PROG()
|
| /linux/drivers/perf/ |
| H A D | arm_brbe.c | 556 static void brbe_set_perf_entry_type(struct perf_branch_entry *entry, u64 brbinf) in brbe_set_perf_entry_type() 587 static bool perf_entry_from_brbe_regset(int index, struct perf_branch_entry *entry, in perf_entry_from_brbe_regset() 597 *entry = (struct perf_branch_entry){ }; in perf_entry_from_brbe_regset() 696 static bool filter_branch_privilege(struct perf_branch_entry *entry, u64 branch_sample_type) in filter_branch_privilege() 737 static bool filter_branch_type(struct perf_branch_entry *entry, in filter_branch_type() 746 static bool filter_branch_record(struct perf_branch_entry *entry, in filter_branch_record() 773 struct perf_branch_entry *pbe = &branch_stack->entries[nr_filtered]; in brbe_read_filtered_entries()
|
| /linux/arch/x86/events/amd/ |
| H A D | brs.c | 285 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_brs_drain() 346 br[nr] = (struct perf_branch_entry){ in amd_brs_drain()
|
| H A D | lbr.c | 167 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_pmu_lbr_read() 205 br[out] = (struct perf_branch_entry){ in amd_pmu_lbr_read()
|
| H A D | core.c | 931 static int amd_pmu_v2_snapshot_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in amd_pmu_v2_snapshot_branch_stack() 948 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in amd_pmu_v2_snapshot_branch_stack()
|
| /linux/arch/x86/events/intel/ |
| H A D | lbr.c | 743 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_32() 759 *br = (struct perf_branch_entry){ in intel_pmu_lbr_read_32() 778 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_64() 850 br[out] = (struct perf_branch_entry){ in intel_pmu_lbr_read_64() 906 struct perf_branch_entry *e; in intel_pmu_store_lbr() 928 *e = (struct perf_branch_entry){ in intel_pmu_store_lbr()
|
| H A D | core.c | 2819 __intel_pmu_snapshot_branch_stack(struct perf_branch_entry *entries, in __intel_pmu_snapshot_branch_stack() 2827 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in __intel_pmu_snapshot_branch_stack() 2834 intel_pmu_snapshot_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in intel_pmu_snapshot_branch_stack() 2847 intel_pmu_snapshot_arch_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in intel_pmu_snapshot_arch_branch_stack()
|
| /linux/tools/perf/include/perf/ |
| H A D | perf_dlfilter.h | 67 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | perf_branches.c | 15 int pbe_size = sizeof(struct perf_branch_entry); in check_good_sample()
|
| /linux/include/linux/ |
| H A D | perf_event.h | 118 struct perf_branch_entry entries[]; 1444 size += brs->nr * sizeof(struct perf_branch_entry); in perf_sample_save_brstack() 2135 typedef int (perf_snapshot_branch_stack_t)(struct perf_branch_entry *entries,
|
| /linux/tools/include/uapi/linux/ |
| H A D | perf_event.h | 1491 struct perf_branch_entry { struct
|
| /linux/include/uapi/linux/ |
| H A D | perf_event.h | 1532 struct perf_branch_entry { struct
|
| /linux/tools/perf/util/ |
| H A D | dlfilter.c | 548 d_sample.brstack = (struct perf_branch_entry *)perf_sample__branch_entries(sample); in dlfilter__do_filter_event()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-dlfilter.txt | 112 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
|
| /linux/arch/x86/events/ |
| H A D | perf_event.h | 528 struct perf_branch_entry lbr_entries[MAX_LBR_ENTRIES];
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1202 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3() 1538 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4()
|
| /linux/kernel/bpf/ |
| H A D | fixups.c | 2358 const u32 br_entry_size = sizeof(struct perf_branch_entry); in bpf_do_misc_fixups()
|
| /linux/kernel/events/ |
| H A D | core.c | 8456 * sizeof(struct perf_branch_entry); in perf_output_sample()
|