Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/resctrl/
H A Dpseudo_lock.c960 struct perf_event *miss_event, *hit_event; in measure_residency_fn() local
974 hit_event = perf_event_create_kernel_counter(hit_attr, plr->cpu, in measure_residency_fn()
976 if (IS_ERR(hit_event)) in measure_residency_fn()
988 if (perf_event_read_local(hit_event, &tmp, NULL, NULL)) { in measure_residency_fn()
1005 hit_pmcnum = x86_perf_rdpmc_index(hit_event); in measure_residency_fn()
1058 perf_event_release_kernel(hit_event); in measure_residency_fn()