Home
last modified time | relevance | path

Searched refs:branch_entry (Results 1 – 14 of 14) sorted by relevance

/linux/tools/perf/util/
H A Dbranch.h43 struct branch_entry {
52 struct branch_entry entries[];
60 * struct branch_entry entries[0];
65 static inline struct branch_entry *perf_sample__branch_entries(struct perf_sample *sample) in perf_sample__branch_entries()
74 return (struct branch_entry *)entry;
75 return (struct branch_entry *)(++entry);
93 const char *get_branch_type(struct branch_entry *e);
42 struct branch_entry { global() struct
51 flagsbranch_entry global() argument
H A Dthread-stack.c151 sz += br_stack_sz * sizeof(struct branch_entry); in thread_stack__init()
386 struct branch_entry *be; in thread_stack__update_br_stack()
621 const size_t bsz = sizeof(struct branch_entry); in thread_stack__br_sample()
623 struct branch_entry *be; in thread_stack__br_sample()
650 static bool us_start(struct branch_entry *be, u64 kernel_start, bool *start) in us_start()
662 static bool ks_start(struct branch_entry *be, u64 sample_ip, u64 kernel_start, in ks_start()
663 bool *start, struct branch_entry *nb) in ks_start()
683 struct branch_entry *d, *s, *spos, *ssz; in thread_stack__br_sample_late()
724 struct branch_entry *nb = NULL; in thread_stack__br_sample_late()
H A Dbranch.c101 const char *get_branch_type(struct branch_entry *e) in get_branch_type()
H A Dmachine.c2306 struct branch_entry *entries = perf_sample__branch_entries(sample); in remove_loops()
2324 struct branch_entry *be, int nr) in remove_loops()
2342 static int remove_loops(struct branch_entry *l, int nr, in lbr_callchain_add_kernel_ip()
2463 struct branch_entry *entries = perf_sample__branch_entries(sample); in lbr_callchain_add_lbr_ip()
2615 struct branch_entry *cur_entries = perf_sample__branch_entries(cur); in has_stitched_lbr()
2617 struct branch_entry *prev_entries = perf_sample__branch_entries(prev); in has_stitched_lbr()
2849 struct branch_entry *entries = perf_sample__branch_entries(sample); in thread__resolve_callchain_sample()
2892 struct branch_entry be[nr]; in thread__resolve_callchain_sample()
H A Dcs-etm.c668 sizeof(struct branch_entry); in cs_etm__etmq_get_traceid_queue()
1704 struct branch_entry entries; in cs_etm__synth_events()
H A Darm-spe.c259 sz += sizeof(struct branch_entry) * in arm_spe__alloc_queue()
418 sizeof(struct branch_entry) * min(last_branch_sz, 2U) /* PBT + TGT */; in arm_spe__prep_branch_stack()
H A Devsel.c3619 sizeof(struct branch_entry); in evsel__parse_sample_timestamp()
3620 struct branch_entry *e; in evsel__parse_sample_timestamp()
3629 sz = data->branch_stack->nr * sizeof(struct branch_entry); in evsel__parse_sample_timestamp()
3639 e = (struct branch_entry *)&data->branch_stack->hw_idx; in evsel__id_hdr_size()
H A Dsession.c1274 struct branch_entry *entries = perf_sample__branch_entries(sample); in deliver_sample_value()
1363 struct branch_entry *entries = perf_sample__branch_entries(sample); in evlist__deliver_deferred_callchain()
1384 struct branch_entry *e = &entries[i]; in evlist__deliver_deferred_callchain()
H A Dsynthetic-events.c1635 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__synthesize_sample()
1841 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__synthesize_id_sample()
H A Dintel-pt.c1255 sz += entry_cnt * sizeof(struct branch_entry); in intel_pt_alloc_br_stack()
1793 struct branch_entry entries; in intel_pt_synth_branch_sample()
H A Dhist.c2832 struct branch_entry *entries = perf_sample__branch_entries(sample); in hist__account_cycles()
/linux/arch/x86/events/amd/
H A Dlbr.c43 struct branch_entry { struct
168 struct branch_entry entry; in amd_pmu_lbr_read()
/linux/tools/perf/
H A Dbuiltin-script.c956 bstack_event_str(struct branch_entry *br, char *buf, size_t sz) in bstack_event_str()
966 static int print_bstack_flags(FILE *fp, struct branch_entry *br) in print_bstack_flags()
986 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstack()
1025 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstacksym()
1063 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackoff()
1250 static int ip__fprintf_jump(uint64_t ip, struct branch_entry *en, in ip__fprintf_jump()
1369 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackinsn()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c487 struct branch_entry *entries = perf_sample__branch_entries(sample); in python_process_brstack()
575 struct branch_entry *entries = perf_sample__branch_entries(sample); in python_process_brstacksym()