Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Dlbr.c201 for (i = 0; i < x86_pmu.lbr_nr; i++) in intel_pmu_lbr_reset_32()
209 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_lbr_reset_64()
221 if (!x86_pmu.lbr_nr) in intel_pmu_lbr_reset()
366 mask = x86_pmu.lbr_nr - 1; in __intel_pmu_lbr_restore()
376 for (; i < x86_pmu.lbr_nr; i++) { in __intel_pmu_lbr_restore()
400 mask = x86_pmu.lbr_nr - 1; in __intel_pmu_lbr_save()
402 for (i = 0; i < x86_pmu.lbr_nr; i++) { in __intel_pmu_lbr_save()
462 if (!x86_pmu.lbr_nr) in intel_pmu_lbr_add()
503 if (!x86_pmu.lbr_nr) in intel_pmu_lbr_del()
538 unsigned long mask = x86_pmu.lbr_nr - 1; in intel_pmu_lbr_read_32()
[all …]
Dcore.c2322 if (x86_pmu.lbr_nr) { in intel_pmu_reset()
4061 unsigned long lbr_from_nr = x86_pmu.lbr_from + x86_pmu.lbr_nr; in is_lbr_from()
4390 return snprintf(buf, PAGE_SIZE, "%d\n", x86_pmu.lbr_nr); in branches_show()
4441 return x86_pmu.lbr_nr ? attr->mode : 0; in lbr_is_visible()
5133 if (x86_pmu.lbr_nr && !check_msr(x86_pmu.lbr_tos, 0x3UL)) in intel_pmu_init()
5134 x86_pmu.lbr_nr = 0; in intel_pmu_init()
5135 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_init()
5138 x86_pmu.lbr_nr = 0; in intel_pmu_init()
5141 if (x86_pmu.lbr_nr) in intel_pmu_init()
5142 pr_cont("%d-deep LBR, ", x86_pmu.lbr_nr); in intel_pmu_init()
Dds.c956 sz += x86_pmu.lbr_nr * sizeof(struct pebs_lbr_entry); in adaptive_pebs_record_size_update()
1005 ((x86_pmu.lbr_nr-1) << PEBS_DATACFG_LBR_SHIFT); in pebs_update_adaptive_cfg()
/Linux-v5.4/tools/perf/util/
Dmachine.c2213 int lbr_nr = lbr_stack->nr, j, k; in resolve_lbr_callchain_sample() local
2226 int mix_chain_nr = i + 1 + lbr_nr + 1; in resolve_lbr_callchain_sample()
2249 if (j < lbr_nr) { in resolve_lbr_callchain_sample()
2250 k = lbr_nr - j - 1; in resolve_lbr_callchain_sample()
2255 else if (j > lbr_nr) in resolve_lbr_callchain_sample()
2256 ip = chain->ips[i + 1 - (j - lbr_nr)]; in resolve_lbr_callchain_sample()
/Linux-v5.4/arch/x86/events/
Dperf_event.h674 int lbr_nr; /* hardware stack size */ member
Dcore.c485 if (x86_pmu.lbr_nr || x86_pmu.intel_cap.pebs_format >= 2) in x86_pmu_max_precise()
1378 if (x86_pmu.lbr_nr) { in perf_event_print_debug()