Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Dpseudo_lock.c959 struct perf_event *miss_event, *hit_event; in measure_residency_fn() local
973 hit_event = perf_event_create_kernel_counter(hit_attr, plr->cpu, in measure_residency_fn()
975 if (IS_ERR(hit_event)) in measure_residency_fn()
987 if (perf_event_read_local(hit_event, &tmp, NULL, NULL)) { in measure_residency_fn()
1004 hit_pmcnum = x86_perf_rdpmc_index(hit_event); in measure_residency_fn()
1057 perf_event_release_kernel(hit_event); in measure_residency_fn()