• Sandipan Das's avatar
    perf vendor events amd: Add Zen 4 metrics · aba4cb3e
    Sandipan Das authored
    Add metrics taken from Section 2.1.15.2 "Performance Measurement" in
    the Processor Programming Reference (PPR) for AMD Family 19h Model 11h
    Revision B1 processors.
    
    The recommended metrics are sourced from Table 27 "Guidance for Common
    Performance Statistics with Complex Event Selects".
    
    The pipeline utilization metrics are sourced from Table 28 "Guidance
    for Pipeline Utilization Analysis Statistics". These are new to Zen 4
    processors and useful for finding performance bottlenecks by analyzing
    activity at different stages of the pipeline. Metric groups have been
    added for Level 1 and Level 2 analysis.
    Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
    Acked-by: default avatarIan Rogers <irogers@google.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: Jirka Hladky <jhladky@redhat.com>
    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://lore.kernel.org/r/20221214082652.419965-4-sandipan.das@amd.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    aba4cb3e
recommended.json 16.9 KB