Home
last modified time | relevance | path

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

/linux/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/drivers/perf/
H A Darm_brbe.c556 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 Dbrs.c285 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 Dlbr.c167 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 Dcore.c931 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 Dlbr.c743 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 Dcore.c2819 __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 Dperf_dlfilter.h67 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c15 int pbe_size = sizeof(struct perf_branch_entry); in check_good_sample()
/linux/include/linux/
H A Dperf_event.h118 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 Dperf_event.h1491 struct perf_branch_entry { struct
/linux/include/uapi/linux/
H A Dperf_event.h1532 struct perf_branch_entry { struct
/linux/tools/perf/util/
H A Ddlfilter.c548 d_sample.brstack = (struct perf_branch_entry *)perf_sample__branch_entries(sample); in dlfilter__do_filter_event()
/linux/tools/perf/Documentation/
H A Dperf-dlfilter.txt112 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */
/linux/arch/x86/events/
H A Dperf_event.h528 struct perf_branch_entry lbr_entries[MAX_LBR_ENTRIES];
/linux/kernel/trace/
H A Dbpf_trace.c1202 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 Dfixups.c2358 const u32 br_entry_size = sizeof(struct perf_branch_entry); in bpf_do_misc_fixups()
/linux/kernel/events/
H A Dcore.c8456 * sizeof(struct perf_branch_entry); in perf_output_sample()