Home
last modified time | relevance | path

Searched refs:br_cntr_nr (Results 1 – 11 of 11) sorted by relevance

/linux/tools/perf/util/
H A Dblock-info.c50 static struct block_info *block_info__new(unsigned int br_cntr_nr) in block_info__new() argument
54 if (bi && br_cntr_nr) { in block_info__new()
55 bi->br_cntr = calloc(br_cntr_nr, sizeof(u64)); in block_info__new()
105 u64 total_cycles, unsigned int br_cntr_nr, in init_block_info() argument
120 if (br_cntr && br_cntr_nr) { in init_block_info()
121 bi->br_cntr_nr = br_cntr_nr; in init_block_info()
122 memcpy(bi->br_cntr, &br_cntr[offset * br_cntr_nr], in init_block_info()
123 br_cntr_nr * sizeof(u64)); in init_block_info()
130 unsigned int br_cntr_nr) in block_info__process_sym() argument
153 bi = block_info__new(br_cntr_nr); in block_info__process_sym()
[all …]
H A Dblock-info.h21 int br_cntr_nr; member
62 unsigned int br_cntr_nr);
H A Denv.h50 unsigned int br_cntr_nr; member
73 unsigned int br_cntr_nr; member
H A Dannotate.c272 unsigned int br_cntr_nr) in symbol__find_branch_hist() argument
288 if (br_cntr_nr && branch->br_cntr == NULL) { in symbol__find_branch_hist()
289 branch->br_cntr = calloc(br_cntr_nr * size, sizeof(u64)); in symbol__find_branch_hist()
334 unsigned int br_cntr_nr = evsel__leader(evsel)->br_cntr_nr; in symbol__account_br_cntr() local
345 for (i = 0; i < br_cntr_nr; i++) { in symbol__account_br_cntr()
508 unsigned int br_cntr_nr = evsel->evlist->nr_br_cntr; in annotation__compute_ipc() local
545 al->br_cntr = calloc(br_cntr_nr, sizeof(u64)); in annotation__compute_ipc()
552 al->br_cntr_nr = br_cntr_nr; in annotation__compute_ipc()
554 memcpy(al->br_cntr, &notes->branch->br_cntr[offset * br_cntr_nr], in annotation__compute_ipc()
555 br_cntr_nr * sizeof(u64)); in annotation__compute_ipc()
[all …]
H A Dannotate.h110 int br_cntr_nr; member
567 int annotation_br_cntr_entry(char **str, int br_cntr_nr, u64 *br_cntr,
H A Denv.c633 *nr = env->cpu_pmu_caps ? env->br_cntr_nr : in perf_env__find_br_cntr_info()
634 env->pmu_caps->br_cntr_nr; in perf_env__find_br_cntr_info()
H A Devsel.h162 int br_cntr_nr; member
H A Dsession.c902 unsigned int br_cntr_width, br_cntr_nr; in branch_stack__printf() local
904 perf_env__find_br_cntr_info(evsel__env(evsel), &br_cntr_nr, &br_cntr_width); in branch_stack__printf()
906 sample->branch_stack->nr, br_cntr_width, br_cntr_nr); in branch_stack__printf()
H A Dheader.c3273 unsigned int *br_cntr_nr, in __process_pmu_caps() argument
3310 *br_cntr_nr = atoi(value); in __process_pmu_caps()
3340 &ff->ph->env.br_cntr_nr, in process_cpu_pmu_caps()
3371 &pmu_caps[i].br_cntr_nr, in process_pmu_caps()
H A Devlist.c1323 evsel__leader(evsel)->br_cntr_nr++; in evlist__update_br_cntr()
H A Devsel.c2648 if (leader->br_cntr_nr > 0) in evsel__has_branch_counters()