Home
last modified time | relevance | path

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

/tools/perf/util/
A Dbranch.h43 struct branch_entry { struct
52 struct branch_entry entries[]; argument
65 static inline struct branch_entry *perf_sample__branch_entries(struct perf_sample *sample) in perf_sample__branch_entries()
71 return (struct branch_entry *)entry; in perf_sample__branch_entries()
72 return (struct branch_entry *)(++entry); in perf_sample__branch_entries()
90 const char *get_branch_type(struct branch_entry *e);
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()
A Dbranch.c101 const char *get_branch_type(struct branch_entry *e) in get_branch_type()
A Dmachine.c2187 struct branch_entry *entries = perf_sample__branch_entries(sample); in sample__resolve_bstack()
2205 struct branch_entry *be, int nr) in save_iterations()
2223 static int remove_loops(struct branch_entry *l, int nr, in remove_loops()
2344 struct branch_entry *entries = perf_sample__branch_entries(sample); in lbr_callchain_add_lbr_ip()
2484 struct branch_entry *cur_entries = perf_sample__branch_entries(cur); in has_stitched_lbr()
2486 struct branch_entry *prev_entries = perf_sample__branch_entries(prev); in has_stitched_lbr()
2717 struct branch_entry *entries = perf_sample__branch_entries(sample); in thread__resolve_callchain_sample()
2760 struct branch_entry be[nr]; in thread__resolve_callchain_sample()
A Dcs-etm.c635 sizeof(struct branch_entry); in cs_etm__init_traceid_queue()
1313 sizeof(struct branch_entry) * nr); in cs_etm__copy_last_branch_rb()
1325 sizeof(struct branch_entry) * tidq->last_branch_pos); in cs_etm__copy_last_branch_rb()
1398 struct branch_entry *be; in cs_etm__update_last_branch_rb()
1627 struct branch_entry entries; in cs_etm__synth_branch_sample()
A Devsel.c3172 sizeof(struct branch_entry); in evsel__parse_sample()
3173 struct branch_entry *e; in evsel__parse_sample()
3182 sz = data->branch_stack->nr * sizeof(struct branch_entry); in evsel__parse_sample()
3192 e = (struct branch_entry *)&data->branch_stack->hw_idx; in evsel__parse_sample()
A Dsession.c799 struct branch_entry *entries = perf_sample__branch_entries(sample); in callchain__lbr_callstack_printf()
862 struct branch_entry *entries = perf_sample__branch_entries(sample); in branch_stack__printf()
883 struct branch_entry *e = &entries[i]; in branch_stack__printf()
A Darm-spe.c241 sz += sizeof(struct branch_entry) * in arm_spe__alloc_queue()
374 sizeof(struct branch_entry) * min(last_branch_sz, 2U) /* PBT + TGT */; in arm_spe__prep_branch_stack()
A Dsynthetic-events.c1512 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__sample_event_size()
1716 sz = sample->branch_stack->nr * sizeof(struct branch_entry); in perf_event__synthesize_sample()
A Dintel-pt.c1255 sz += entry_cnt * sizeof(struct branch_entry); in intel_pt_alloc_br_stack()
1773 struct branch_entry entries; in intel_pt_synth_branch_sample()
A Dhist.c2831 struct branch_entry *entries = perf_sample__branch_entries(sample); in hist__account_cycles()
/tools/perf/
A Dbuiltin-script.c951 bstack_event_str(struct branch_entry *br, char *buf, size_t sz) in bstack_event_str()
961 static int print_bstack_flags(FILE *fp, struct branch_entry *br) in print_bstack_flags()
981 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstack()
1020 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstacksym()
1058 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackoff()
1247 static int ip__fprintf_jump(uint64_t ip, struct branch_entry *en, in ip__fprintf_jump()
1358 struct branch_entry *entries = perf_sample__branch_entries(sample); in perf_sample__fprintf_brstackinsn()
/tools/perf/util/scripting-engines/
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()

Completed in 64 milliseconds