Searched refs:bi (Results 1 – 9 of 9) sorted by relevance
| /tools/perf/util/ |
| A D | block-info.c | 57 free(bi); in block_info__new() 62 return bi; in block_info__new() 67 if (bi) in block_info__delete() 69 free(bi); in block_info__delete() 108 bi->sym = sym; in init_block_info() 154 if (!bi) in block_info__process_sym() 161 cycles += bi->cycles_aggr / bi->num_aggr; in block_info__process_sym() 276 avg = bi->cycles_aggr / bi->num_aggr; in block_cycles_pct_entry() 320 bi->start, bi->end); in block_range_entry() 367 bi->num_aggr, bi->evsel)) in block_branch_counter_entry() [all …]
|
| A D | hist.c | 996 if (!bi) in iter_prepare_branch_entry() 1002 iter->bi = bi; in iter_prepare_branch_entry() 1016 struct branch_info *bi = iter->bi; in iter_next_branch_entry() local 1019 if (bi == NULL) in iter_next_branch_entry() 1045 bi = iter->bi; in iter_add_next_branch_entry() 1047 if (iter->hide_unresolved && !(bi[i].from.ms.sym && bi[i].to.ms.sym)) in iter_add_next_branch_entry() 1055 sample->weight = bi->flags.cycles ? bi->flags.cycles : 1; in iter_add_next_branch_entry() 1089 zfree(&iter->bi); in iter_finish_branch_entry() 1295 zfree(&iter->bi); in iter_finish_cumulative_entry() 2836 if (bi) { in hist__account_cycles() [all …]
|
| A D | block-info.h | 53 void block_info__delete(struct block_info *bi);
|
| A D | hist.h | 164 struct branch_info *bi; member 347 struct branch_info *bi, 357 struct branch_info *bi, 365 struct block_info *bi);
|
| A D | machine.c | 2189 struct branch_info *bi = calloc(bs->nr, sizeof(struct branch_info)); in sample__resolve_bstack() local 2191 if (!bi) in sample__resolve_bstack() 2195 ip__resolve_ams(al->thread, &bi[i].to, entries[i].to); in sample__resolve_bstack() 2196 ip__resolve_ams(al->thread, &bi[i].from, entries[i].from); in sample__resolve_bstack() 2197 bi[i].flags = entries[i].flags; in sample__resolve_bstack() 2199 bi[i].branch_stack_cntr = branch_stack_cntr[i]; in sample__resolve_bstack() 2201 return bi; in sample__resolve_bstack()
|
| /tools/perf/ |
| A D | builtin-annotate.c | 150 struct branch_info *bi; in process_branch_stack() local 156 bi = sample__resolve_bstack(sample, al); in process_branch_stack() 157 if (!bi) in process_branch_stack() 165 process_basic_block(prev, &bi[i].from, &bi[i].flags); in process_branch_stack() 166 prev = &bi[i].to; in process_branch_stack() 169 free(bi); in process_branch_stack() 178 struct branch_info *bi; in hist_iter__branch_callback() local 183 bi = he->branch_info; in hist_iter__branch_callback() 184 err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); in hist_iter__branch_callback() 189 err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); in hist_iter__branch_callback()
|
| A D | builtin-report.c | 176 struct branch_info *bi; in hist_iter__report_callback() local 182 bi = he->branch_info; in hist_iter__report_callback() 183 err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); in hist_iter__report_callback() 187 err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); in hist_iter__report_callback() 215 struct branch_info *bi = he->branch_info; in hist_iter__branch_callback() local 220 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 221 bi->from.addr, bi->to.addr); in hist_iter__branch_callback() 226 err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); in hist_iter__branch_callback() 230 err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); in hist_iter__branch_callback()
|
| A D | builtin-diff.c | 1345 struct block_info *bi; in cycles_printf() local 1360 bi = block_he->block_info; in cycles_printf() 1362 start_line = map__srcline(he->ms.map, bi->sym->start + bi->start, in cycles_printf() 1365 end_line = map__srcline(he->ms.map, bi->sym->start + bi->end, in cycles_printf() 1374 bi->start, bi->end, block_he->diff.cycles); in cycles_printf()
|
| /tools/perf/ui/browsers/ |
| A D | hists.c | 3005 struct branch_info *bi = NULL; in evsel__hists_browse() local 3154 if (!bi || !bi->to.ms.map) in evsel__hists_browse() 3157 actions->ms.sym = symbol__new_unresolved(bi->to.al_addr, bi->to.ms.map); in evsel__hists_browse() 3158 actions->ms.map = bi->to.ms.map; in evsel__hists_browse() 3346 bi = browser->he_selection->branch_info; in evsel__hists_browse() 3348 if (bi == NULL) in evsel__hists_browse() 3353 &bi->from.ms, in evsel__hists_browse() 3354 bi->from.al_addr); in evsel__hists_browse() 3355 if (bi->to.ms.sym != bi->from.ms.sym) in evsel__hists_browse() 3358 &bi->to.ms, in evsel__hists_browse() [all …]
|
Completed in 35 milliseconds