perf/x86: Support Retire Latency
mainline inclusion from mainline-v6.3-rc1 commit c87a3109 category: feature feature: SRF core PMU support bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8RWG5 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c87a31093c707eb0b8c48aab89922c1d0bf4bd90 Intel-SIG: commit c87a3109 perf/x86: Support Retire Latency Backport as a dependency for Sierra Forrest core PMU support. ------------------------------------- Retire Latency reports the number of elapsed core clocks between the retirement of the instruction indicated by the Instruction Pointer field of the PEBS record and the retirement of the prior instruction. It's enumerated by the IA32_PERF_CAPABILITIES.PEBS_TIMING_INFO[17]. Add flag PMU_FL_RETIRE_LATENCY to indicate the availability of the feature. The Retire Latency is not supported by the fixed counter 0 on p-core of MTL. Signed-off-by:Kan Liang <kan.liang@linux.intel.com> Signed-off-by:
Ingo Molnar <mingo@kernel.org> Reviewed-by:
Andi Kleen <ak@linux.intel.com> Acked-by:
Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230104201349.1451191-3-kan.liang@linux.intel.com Signed-off-by:
Yunying Sun <yunying.sun@intel.com>
Loading
Please sign in to comment