Home
last modified time | relevance | path

Searched refs:perf_branch_entry (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dget_branch_snapshot.c16 struct perf_branch_entry entries[ENTRY_CNT] = {};
29 total_entries /= sizeof(struct perf_branch_entry); in BPF_PROG()
/linux-6.15/tools/perf/include/perf/
H A Dperf_dlfilter.h67 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c15 int pbe_size = sizeof(struct perf_branch_entry); in check_good_sample()
/linux-6.15/arch/x86/events/amd/
H A Dbrs.c285 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_brs_drain()
H A Dlbr.c163 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_pmu_lbr_read()
H A Dcore.c918 static int amd_pmu_v2_snapshot_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in amd_pmu_v2_snapshot_branch_stack()
935 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in amd_pmu_v2_snapshot_branch_stack()
/linux-6.15/include/linux/
H A Dperf_event.h126 struct perf_branch_entry entries[];
1376 size += brs->nr * sizeof(struct perf_branch_entry); in perf_sample_save_brstack()
1408 static inline void perf_clear_branch_entry_bitfields(struct perf_branch_entry *br) in perf_clear_branch_entry_bitfields()
2032 typedef int (perf_snapshot_branch_stack_t)(struct perf_branch_entry *entries,
/linux-6.15/tools/perf/dlfilters/
H A Ddlfilter-test-api-v0.c66 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
H A Ddlfilter-test-api-v2.c72 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
/linux-6.15/arch/x86/events/intel/
H A Dlbr.c741 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_32()
776 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_64()
903 struct perf_branch_entry *e; in intel_pmu_store_lbr()
H A Dcore.c2334 __intel_pmu_snapshot_branch_stack(struct perf_branch_entry *entries, in __intel_pmu_snapshot_branch_stack()
2342 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in __intel_pmu_snapshot_branch_stack()
2349 intel_pmu_snapshot_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in intel_pmu_snapshot_branch_stack()
2362 intel_pmu_snapshot_arch_branch_stack(struct perf_branch_entry *entries, unsigned int cnt) in intel_pmu_snapshot_arch_branch_stack()
/linux-6.15/tools/include/uapi/linux/
H A Dperf_event.h1438 struct perf_branch_entry { struct
/linux-6.15/include/uapi/linux/
H A Dperf_event.h1438 struct perf_branch_entry { struct
/linux-6.15/tools/perf/util/
H A Ddlfilter.c549 d_sample.brstack = (struct perf_branch_entry *)perf_sample__branch_entries(sample); in dlfilter__do_filter_event()
/linux-6.15/tools/perf/Documentation/
H A Dperf-dlfilter.txt112 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
/linux-6.15/arch/x86/events/
H A Dperf_event.h302 struct perf_branch_entry lbr_entries[MAX_LBR_ENTRIES];
/linux-6.15/kernel/trace/
H A Dbpf_trace.c1174 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3()
1787 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4()
/linux-6.15/arch/powerpc/perf/
H A Dcore-book3s.c57 struct perf_branch_entry bhrb_entries[BHRB_MAX_ENTRIES];
/linux-6.15/kernel/events/
H A Dcore.c7830 * sizeof(struct perf_branch_entry); in perf_output_sample()
/linux-6.15/kernel/bpf/
H A Dverifier.c22299 const u32 br_entry_size = sizeof(struct perf_branch_entry); in do_misc_fixups()