Searched refs:branch_entry (Results 1 – 8 of 8) sorted by relevance
/linux/tools/perf/util/ |
H A D | branch.h | 42 struct branch_entry { struct 51 struct branch_entry entries[]; argument 64 static inline struct branch_entry *perf_sample__branch_entries(struct perf_sample *sample) in perf_sample__branch_entries() 70 return (struct branch_entry *)entry; in perf_sample__branch_entries() 71 return (struct branch_entry *)(++entry); in perf_sample__branch_entries() 89 const char *get_branch_type(struct branch_entry *e);
|
H A D | thread-stack.c | 151 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 D | branch.c | 101 const char *get_branch_type(struct branch_entry *e) in get_branch_type()
|
H A D | machine.c | 2150 struct branch_entry *entries = perf_sample__branch_entries(sample); in sample__resolve_bstack() 2168 struct branch_entry *be, int nr) in save_iterations() 2186 static int remove_loops(struct branch_entry *l, int nr, in remove_loops() 2307 struct branch_entry *entries = perf_sample__branch_entries(sample); in lbr_callchain_add_lbr_ip() 2447 struct branch_entry *cur_entries = perf_sample__branch_entries(cur); in has_stitched_lbr() 2449 struct branch_entry *prev_entries = perf_sample__branch_entries(prev); in has_stitched_lbr() 2680 struct branch_entry *entries = perf_sample__branch_entries(sample); in thread__resolve_callchain_sample() 2723 struct branch_entry be[nr]; in thread__resolve_callchain_sample()
|
H A D | cs-etm.c | 628 sizeof(struct branch_entry); in cs_etm__init_traceid_queue() 1306 sizeof(struct branch_entry) * nr); in cs_etm__copy_last_branch_rb() 1318 sizeof(struct branch_entry) * tidq->last_branch_pos); in cs_etm__copy_last_branch_rb() 1391 struct branch_entry *be; in cs_etm__update_last_branch_rb() 1618 struct branch_entry entries; in cs_etm__synth_branch_sample()
|
H A D | evsel.c | 3116 sizeof(struct branch_entry); in evsel__parse_sample() 3117 struct branch_entry *e; in evsel__parse_sample() 3126 sz = data->branch_stack->nr * sizeof(struct branch_entry); in evsel__parse_sample() 3136 e = (struct branch_entry *)&data->branch_stack->hw_idx; in evsel__parse_sample()
|
H A D | synthetic-events.c | 1504 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__sample_event_size() 1702 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__synthesize_sample()
|
/linux/arch/x86/events/amd/ |
H A D | lbr.c | 40 struct branch_entry { struct 164 struct branch_entry entry; in amd_pmu_lbr_read()
|