[PATCH V9 1/8] perf, x86: use the PEBS auto reload mechanism when possible

2015-05-10 Thread Kan Liang
From: Yan, Zheng When a fixed period is specified, this patch make perf use the PEBS auto reload mechanism. This makes normal profiling faster, because it avoids one costly MSR write in the PMI handler. However, the reset value will be loaded by hardware assist. There is a little bit delay

[PATCH V9 1/8] perf, x86: use the PEBS auto reload mechanism when possible

2015-05-10 Thread Kan Liang
From: Yan, Zheng zheng.z@intel.com When a fixed period is specified, this patch make perf use the PEBS auto reload mechanism. This makes normal profiling faster, because it avoids one costly MSR write in the PMI handler. However, the reset value will be loaded by hardware assist. There is a