lkml.org 
[lkml]   [2022]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/11] perf vendor events: Update metrics for sapphirerapids
    Date
    From: Zhengjun Xing <zhengjun.xing@linux.intel.com>

    The metrics are based on TMA 4.4 full, add new metrics “UNCORE_FREQ” for
    sapphirerapids.

    Use script at:
    https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py

    to download and generate the latest events and metrics. Manually copy
    the sapphirerapids files into perf.

    Signed-off-by: Zhengjun Xing <zhengjun.xing@linux.intel.com>
    ---
    .../pmu-events/arch/x86/sapphirerapids/spr-metrics.json | 6 ++++++
    1 file changed, 6 insertions(+)

    diff --git a/tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json b/tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json
    index b9adef1fb72e..e194dfc5c25b 100644
    --- a/tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json
    +++ b/tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json
    @@ -491,6 +491,12 @@
    "MetricGroup": "SoC",
    "MetricName": "Socket_CLKS"
    },
    + {
    + "BriefDescription": "Uncore frequency per die [GHZ]",
    + "MetricExpr": "uncore_cha_0@event\\=0x1@ / #num_dies / duration_time / 1000000000",
    + "MetricGroup": "SoC",
    + "MetricName": "UNCORE_FREQ"
    + },
    {
    "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
    "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u",
    --
    2.25.1
    \
     
     \ /
      Last update: 2022-08-12 10:54    [W:8.607 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site