• James Clark's avatar
    perf vendor events arm64: Update N2 and V2 metrics and events using Arm telemetry repo · 44739490
    James Clark authored
    Apart from some slight naming and grouping differences, the new metrics
    are functionally the same as the existing ones. Any missing metrics were
    manually appended to the end of the auto generated file.
    
    For the events, the new data includes descriptions that may have product
    specific details and new groupings that will be consistent with other
    products.
    
    After generating the metrics from the telemetry repo [1], the following
    manual steps were performed:
    
     * Change the topdown expressions to compare on CPUID and use
       #slots so that the same data can be shared between N2 and V2. Apart
       from these modifications, the expressions now match more closely with
       the Arm telemetry data which will hopefully make future updates
       easier.
    
     * Append some metrics from the old N2/V2 data that aren't present in
       the telemetry data. These will possibly be added to the
       telemetry-solution repo at a later time:
    
        l3d_cache_mpki, l3d_cache_miss_rate, branch_pki, ipc_rate, spec_ipc,
        retired_rate, wasted_rate, branch_immed_spec_rate,
        branch_return_spec_rate, branch_indirect_spec_rate
    
    [1]: https://gitlab.arm.com/telemetry-solution/telemetry-solution/-/blob/main/data/pmu/cpu/neoverse/neoverse-n2.jsonSigned-off-by: default avatarJames Clark <james.clark@arm.com>
    Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andrii Nakryiko <andrii@kernel.org>
    Cc: Eduard Zingerman <eddyz87@gmail.com>
    Cc: Haixin Yu <yuhaixin.yhx@linux.alibaba.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jing Zhang <renyu.zj@linux.alibaba.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Nick Forrington <nick.forrington@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Rob Herring <robh@kernel.org>
    Cc: Sohom Datta <sohomdatta1@gmail.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://lore.kernel.org/r/20230816114841.1679234-7-james.clark@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    44739490
l2_cache.json 3.67 KB