mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Liang, Kan" <kan.liang@linux.intel.com>
To: "Ian Rogers" <irogers@google.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Arnaldo Carvalho de Melo" <acme@kernel.org>,
	"Namhyung Kim" <namhyung@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Adrian Hunter" <adrian.hunter@intel.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
	"Weilin Wang" <weilin.wang@intel.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
	"Perry Taylor" <perry.taylor@intel.com>,
	"Samantha Alt" <samantha.alt@intel.com>,
	"Caleb Biggers" <caleb.biggers@intel.com>,
	"Edward Baker" <edward.baker@intel.com>,
	"Michael Petlan" <mpetlan@redhat.com>,
	"Thomas Falcon" <thomas.falcon@intel.com>
Subject: Re: [PATCH v7 03/24] perf vendor events: Add Arrowlake events/metrics
Date: Fri, 7 Feb 2025 15:44:08 -0500	[thread overview]
Message-ID: <0990a674-d8ab-4abc-a904-299513773f90@linux.intel.com> (raw)
In-Reply-To: <20250207185154.824433-4-irogers@google.com>



On 2025-02-07 1:51 p.m., Ian Rogers wrote:
> +    {
> +        "BriefDescription": "Percentage of time that the core is stalled due to a TPAUSE or UMWAIT instruction",
> +        "MetricExpr": "100 * cpu_atom@SERIALIZATION.C01_MS_SCB@ / (8 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
> +        "MetricName": "tma_info_serialization _%_tpause_cycles",

It doesn't seem a correct MetricName. A convert script bug?

> +        "Unit": "cpu_atom"
> +    },diff --git a/tools/perf/pmu-events/arch/x86/arrowlake/uncore-other.json b/tools/perf/pmu-events/arch/x86/arrowlake/uncore-other.json
> new file mode 100644
> index 000000000000..1ac5b5ef8094
> --- /dev/null
> +++ b/tools/perf/pmu-events/arch/x86/arrowlake/uncore-other.json
> @@ -0,0 +1,10 @@
> +[
> +    {
> +        "BriefDescription": "This 48-bit fixed counter counts the UCLK cycles.",
> +        "Counter": "FIXED",
> +        "EventCode": "0xff",
> +        "EventName": "UNC_CLOCK.SOCKET",
> +        "PerPkg": "1",
> +        "Unit": "CLOCK"

On MTL and ARL, the unit should be CNCU.
Thomas will propose a convertor script patch to fix it.

Thanks,
Kan

> +    }
> +]


  reply	other threads:[~2025-02-07 20:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07 18:51 [PATCH v7 00/24] Intel vendor events and TMA 5.02 metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 01/24] perf vendor events: Update Alderlake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 02/24] perf vendor events: Update AlderlakeN events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 03/24] perf vendor events: Add Arrowlake events/metrics Ian Rogers
2025-02-07 20:44   ` Liang, Kan [this message]
2025-02-07 23:00     ` Ian Rogers
2025-02-08  1:19       ` Liang, Kan
2025-02-08  5:15         ` Ian Rogers
2025-02-07 18:51 ` [PATCH v7 04/24] perf vendor events: Update Broadwell events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 05/24] perf vendor events: Update BroadwellDE events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 06/24] perf vendor events: Update BroadwellX events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 07/24] perf vendor events: Update CascadelakeX events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 08/24] perf vendor events: Add Clearwaterforest events Ian Rogers
2025-02-07 18:51 ` [PATCH v7 09/24] perf vendor events: Update EmeraldRapids events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 10/24] perf vendor events: Update GrandRidge events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 11/24] perf vendor events: Update/add Graniterapids events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 12/24] perf vendor events: Update Haswell events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 13/24] perf vendor events: Update HaswellX events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 14/24] perf vendor events: Update Icelake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 15/24] perf vendor events: Update IcelakeX events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 16/24] perf vendor events: Update/add Lunarlake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 17/24] perf vendor events: Update Meteorlake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 18/24] perf vendor events: Update Rocketlake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 19/24] perf vendor events: Update Sapphirerapids events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 20/24] perf vendor events: Update Sierraforest events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 21/24] perf vendor events: Update Skylake metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 22/24] perf vendor events: Update SkylakeX events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 23/24] perf vendor events: Update Tigerlake events/metrics Ian Rogers
2025-02-07 18:51 ` [PATCH v7 24/24] perf test stat_all_metrics: Ensure missing events fail test Ian Rogers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0990a674-d8ab-4abc-a904-299513773f90@linux.intel.com \
    --to=kan.liang@linux.intel.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=afaerber@suse.de \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=caleb.biggers@intel.com \
    --cc=edward.baker@intel.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=mpetlan@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=perry.taylor@intel.com \
    --cc=peterz@infradead.org \
    --cc=samantha.alt@intel.com \
    --cc=thomas.falcon@intel.com \
    --cc=weilin.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®