[PATCH V6 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-20 Thread Reinette Chatre
The success of a cache pseudo-locked region is measured using performance monitoring events that are programmed directly at the time the user requests a measurement. Modifying the performance event registers directly is not appropriate since it circumvents the in-kernel perf infrastructure that

[PATCH V6 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-20 Thread Reinette Chatre
The success of a cache pseudo-locked region is measured using performance monitoring events that are programmed directly at the time the user requests a measurement. Modifying the performance event registers directly is not appropriate since it circumvents the in-kernel perf infrastructure that