From: Namhyung Kim <namhyung@kernel.org>
To: Ian Rogers <irogers@google.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>, Jiri Olsa <jolsa@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>,
James Clark <james.clark@linaro.org>,
Dapeng Mi <dapeng1.mi@linux.intel.com>,
Edward Baker <edward.baker@intel.com>,
Thomas Falcon <thomas.falcon@intel.com>,
Perry Taylor <perry.taylor@intel.com>,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel test robot <yi1.lai@intel.com>
Subject: Re: [PATCH v1] perf jevents: Don't encode MSRs with no value
Date: Thu, 5 Nov 2026 23:26:32 -0800 [thread overview]
Message-ID: <au2BKOeDHgzqUNh5@google.com> (raw)
In-Reply-To: <20261105044841.102295-1-irogers@google.com>
On Wed, Nov 04, 2026 at 08:48:41PM -0800, Ian Rogers wrote:
> Fixes the events mem_trans_retired.load_latency (EMR) and
> mem_inst_retired.latency_above_threshold_0 (NHM, WSM) that were having
> their ldlat= value encoded as python's None.
>
> Fixes: ffc606ada3d7 ("perf jevents: Add python converter script")
> Reported-by: kernel test robot <yi1.lai@intel.com>
> Closes: https://lore.kernel.org/oe-lkp/202611050801.67bb4af4-lkp@intel.com
> Signed-off-by: Ian Rogers <irogers@google.com>
Arnaldo, I think it's good to go to v7.4.
Thanks,
Namhyung
> ---
> tools/perf/pmu-events/jevents.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/pmu-events/jevents.py b/tools/perf/pmu-events/jevents.py
> index 080e04b51b8c..e083f7495e67 100755
> --- a/tools/perf/pmu-events/jevents.py
> +++ b/tools/perf/pmu-events/jevents.py
> @@ -396,7 +396,7 @@ class JsonEvent:
> event += f',{value}{canonicalize_value(jd[key])}'
> if filter:
> event += f',{filter}'
> - if msr:
> + if msr and msrval:
> event += f',{msr}{msrval}'
> if self.desc and extra_desc:
> self.desc += extra_desc
> --
> 2.56.0.455.g6c5a503b38-goog
>
prev parent reply other threads:[~2026-11-06 7:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 4:48 [PATCH v1] perf jevents: Don't encode MSRs with no value Ian Rogers
2026-11-05 4:53 ` sashiko-bot
2026-11-05 5:42 ` Mi, Dapeng
2026-11-06 7:26 ` Namhyung Kim [this message]
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=au2BKOeDHgzqUNh5@google.com \
--to=namhyung@kernel.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=dapeng1.mi@linux.intel.com \
--cc=edward.baker@intel.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=perry.taylor@intel.com \
--cc=peterz@infradead.org \
--cc=thomas.falcon@intel.com \
--cc=yi1.lai@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.