+99
−0
+345
−0
Loading
mainline inclusion from mainline-v6.10-rc1 commit a9fe4ac7a3a25f0242406db7aa237850692fb29c category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYOV8 CVE: NA Reference: https://github.com/torvalds/linux/commit/a9fe4ac7a3a25f0242406db7aa237850692fb29c -------------------------------- commit a9fe4ac7a3a25f0242406db7aa237850692fb29c upstream Add metrics taken from Section 1.2 "Performance Measurement" of the Performance Monitor Counters for AMD Family 1Ah Model 00h-0Fh Processors document available at the link below. The recommended metrics are sourced from Table 1 "Guidance for Common Performance Statistics with Complex Event Selects". The pipeline utilization metrics are sourced from Table 2 "Guidance for Pipeline Utilization Analysis Statistics". These are useful for finding performance bottlenecks by analyzing activity at different stages of the pipeline. There are metric groups available for Level 1 and Level 2 analysis. Reviewed-by:Ian Rogers <irogers@google.com> Signed-off-by:
Sandipan Das <sandipan.das@amd.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ananth Narayan <ananth.narayan@amd.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Stephane Eranian <eranian@google.com> Link: https://bugzilla.kernel.org/attachment.cgi?id=305974 Link: https://lore.kernel.org/r/ee21ff77d89efa99997d3c2ebeeae22ddb6e7e12.1714717230.git.sandipan.das@amd.com Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
suryasaimadhu <SaiMadhu.KoyyalaHariVenkata@amd.com> Signed-off-by:
PrithivishS <sprithiv@amd.com>