Home
last modified time | relevance | path

Searched refs:br_cntr (Results 1 – 6 of 6) sorted by relevance

/linux/tools/perf/util/
H A Dblock-info.c55 bi->br_cntr = calloc(br_cntr_nr, sizeof(u64)); in block_info__new()
56 if (!bi->br_cntr) { in block_info__new()
68 free(bi->br_cntr); in block_info__delete()
106 u64 *br_cntr, struct evsel *evsel) in init_block_info() argument
120 if (br_cntr && br_cntr_nr) { in init_block_info()
122 memcpy(bi->br_cntr, &br_cntr[offset * br_cntr_nr], in init_block_info()
159 notes->branch->br_cntr, in block_info__process_sym()
366 if (annotation_br_cntr_entry(&buf, bi->br_cntr_nr, bi->br_cntr, in block_branch_counter_entry()
H A Dannotate.c294 if (br_cntr_nr && branch->br_cntr == NULL) { in symbol__find_branch_hist()
295 branch->br_cntr = calloc(br_cntr_nr * size, sizeof(u64)); in symbol__find_branch_hist()
296 if (!branch->br_cntr) in symbol__find_branch_hist()
338 u64 br_cntr) in symbol__account_br_cntr()
343 u64 *branch_br_cntr = branch->br_cntr; in symbol__account_br_cntr()
346 if (!br_cntr || !branch_br_cntr) in symbol__account_br_cntr()
352 u64 cntr = (br_cntr >> i * width) & mask; in symbol__account_br_cntr()
364 u64 br_cntr) in symbol__account_cycles()
393 return symbol__account_br_cntr(branch, evsel, offset, br_cntr);
400 u64 br_cntr) in addr_map_symbol__account_cycles()
336 symbol__account_br_cntr(struct annotated_branch * branch,struct evsel * evsel,unsigned offset,u64 br_cntr) symbol__account_br_cntr() argument
362 symbol__account_cycles(u64 addr,u64 start,struct symbol * sym,unsigned cycles,struct evsel * evsel,u64 br_cntr) symbol__account_cycles() argument
398 addr_map_symbol__account_cycles(struct addr_map_symbol * ams,struct addr_map_symbol * start,unsigned cycles,struct evsel * evsel,u64 br_cntr) addr_map_symbol__account_cycles() argument
1856 annotation_br_cntr_entry(char ** str,int br_cntr_nr,u64 * br_cntr,int num_aggr,struct evsel * evsel) annotation_br_cntr_entry() argument
[all...]
H A Dannotate.h123 u64 *br_cntr; member
337 * @br_cntr: Array of the occurrences of events (branch counters) during a block.
354 u64 *br_cntr; member
433 u64 br_cntr);
583 int annotation_br_cntr_entry(char **str, int br_cntr_nr, u64 *br_cntr,
H A Dblock-info.h22 u64 *br_cntr; member
H A Ddisasm.c922 zfree(&al->br_cntr); in annotation_line__exit()
/linux/tools/perf/
H A Dbuiltin-script.c1255 u64 br_cntr) in ip__fprintf_jump()
1282 printed += fprintf(fp, "\t# br_cntr: "); in ip__fprintf_jump()
1289 num = (br_cntr >> (i++ * width)) & mask; in ip__fprintf_jump()
1377 u64 br_cntr = 0; in perf_sample__fprintf_brstackinsn()
1390 br_cntr = sample->branch_stack_cntr[nr - 1]; in perf_sample__fprintf_brstackinsn()
1403 evsel, thread, br_cntr); in perf_sample__fprintf_brstackinsn()
1434 br_cntr = sample->branch_stack_cntr[i]; in perf_sample__fprintf_brstackinsn()
1436 &total_cycles, evsel, thread, br_cntr); in perf_sample__fprintf_brstackinsn()
1251 ip__fprintf_jump(uint64_t ip,struct branch_entry * en,struct perf_insn * x,u8 * inbuf,int len,int insn,FILE * fp,int * total_cycles,struct evsel * evsel,struct thread * thread,u64 br_cntr) ip__fprintf_jump() argument
1365 u64 br_cntr = 0; perf_sample__fprintf_brstackinsn() local