linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] perf stat: Fix trailing comma when there is no metric unit
@ 2024-10-25  9:03 James Clark
  2024-10-25  9:03 ` [PATCH 1/2] " James Clark
  2024-10-25  9:03 ` [PATCH 2/2] perf stat: Also hide metric from JSON if units are an empty string James Clark
  0 siblings, 2 replies; 7+ messages in thread
From: James Clark @ 2024-10-25  9:03 UTC (permalink / raw)
  To: linux-perf-users, acme, namhyung, irogers, tim.c.chen
  Cc: James Clark, Peter Zijlstra, Ingo Molnar, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Adrian Hunter, Liang, Kan,
	Yicong Yang, linux-kernel

The first commit is failing on Arm and I think the fix should stop more
trailing comma issues which keep happening.

The second one I just noticed when looking at it. I don't feel strongly
about it so not sure if we should do it or not, but seems like the
empty metric exclusion from the JSON should be consistent if we're going
to have it at all.

James Clark (2):
  perf stat: Fix trailing comma when there is no metric unit
  perf stat: Also hide metric from JSON if units are an empty string

 .../tests/shell/lib/perf_json_output_lint.py  |  14 +-
 tools/perf/util/stat-display.c                | 179 ++++++++++--------
 2 files changed, 105 insertions(+), 88 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-30 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25  9:03 [PATCH 0/2] perf stat: Fix trailing comma when there is no metric unit James Clark
2024-10-25  9:03 ` [PATCH 1/2] " James Clark
2024-10-25  9:03 ` [PATCH 2/2] perf stat: Also hide metric from JSON if units are an empty string James Clark
2024-10-30  0:42   ` Namhyung Kim
2024-10-30  2:45     ` Ian Rogers
2024-10-30  9:36       ` James Clark
2024-10-30 15:38         ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).