Searched refs:branch_entry (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.15/tools/perf/util/ |
| D | branch.h | 40 struct branch_entry { struct 49 struct branch_entry entries[]; argument 62 static inline struct branch_entry *perf_sample__branch_entries(struct perf_sample *sample) in perf_sample__branch_entries() 68 return (struct branch_entry *)entry; in perf_sample__branch_entries() 69 return (struct branch_entry *)(++entry); in perf_sample__branch_entries()
|
| 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() 620 const size_t bsz = sizeof(struct branch_entry); in thread_stack__br_sample() 622 struct branch_entry *be; in thread_stack__br_sample() 649 static bool us_start(struct branch_entry *be, u64 kernel_start, bool *start) in us_start() 661 static bool ks_start(struct branch_entry *be, u64 sample_ip, u64 kernel_start, in ks_start() 662 bool *start, struct branch_entry *nb) in ks_start() 682 struct branch_entry *d, *s, *spos, *ssz; in thread_stack__br_sample_late() 723 struct branch_entry *nb = NULL; in thread_stack__br_sample_late()
|
| D | machine.c | 2217 struct branch_entry *entries = perf_sample__branch_entries(sample); in sample__resolve_bstack() 2232 struct branch_entry *be, int nr) in save_iterations() 2250 static int remove_loops(struct branch_entry *l, int nr, in remove_loops() 2363 struct branch_entry *entries = perf_sample__branch_entries(sample); in lbr_callchain_add_lbr_ip() 2501 struct branch_entry *cur_entries = perf_sample__branch_entries(cur); in has_stitched_lbr() 2503 struct branch_entry *prev_entries = perf_sample__branch_entries(prev); in has_stitched_lbr() 2712 struct branch_entry *entries = perf_sample__branch_entries(sample); in thread__resolve_callchain_sample() 2753 struct branch_entry be[nr]; in thread__resolve_callchain_sample()
|
| D | cs-etm.c | 299 sizeof(struct branch_entry); in cs_etm__init_traceid_queue() 937 sizeof(struct branch_entry) * nr); in cs_etm__copy_last_branch_rb() 949 sizeof(struct branch_entry) * tidq->last_branch_pos); in cs_etm__copy_last_branch_rb() 1018 struct branch_entry *be; in cs_etm__update_last_branch_rb() 1227 struct branch_entry entries; in cs_etm__synth_branch_sample()
|
| D | session.c | 1079 struct branch_entry *entries = perf_sample__branch_entries(sample); in callchain__lbr_callstack_printf() 1141 struct branch_entry *entries = perf_sample__branch_entries(sample); in branch_stack__printf() 1149 struct branch_entry *e = &entries[i]; in branch_stack__printf()
|
| D | synthetic-events.c | 1447 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__sample_event_size() 1624 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__synthesize_sample()
|
| D | evsel.c | 2410 sizeof(struct branch_entry); in evsel__parse_sample() 2418 sz = data->branch_stack->nr * sizeof(struct branch_entry); in evsel__parse_sample()
|
| D | intel-pt.c | 1114 sz += entry_cnt * sizeof(struct branch_entry); in intel_pt_alloc_br_stack() 1544 struct branch_entry entries; in intel_pt_synth_branch_sample()
|
| D | hist.c | 2645 struct branch_entry *entries = perf_sample__branch_entries(sample); in hist__account_cycles()
|
| /Linux-v5.15/tools/perf/ |
| D | builtin-script.c | 844 mispred_str(struct branch_entry *br) in mispred_str() 857 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstack() 905 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstacksym() 951 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackoff() 1115 static int ip__fprintf_jump(uint64_t ip, struct branch_entry *en, in ip__fprintf_jump() 1178 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackinsn()
|
| /Linux-v5.15/tools/perf/util/scripting-engines/ |
| D | trace-event-python.c | 467 struct branch_entry *entries = perf_sample__branch_entries(sample); in python_process_brstack() 565 struct branch_entry *entries = perf_sample__branch_entries(sample); in python_process_brstacksym()
|