linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] perf list/debug output fixes
@ 2023-08-31  7:14 Ian Rogers
  2023-08-31  7:14 ` [PATCH v1 1/3] perf list: Don't print Unit for default_core Ian Rogers
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ian Rogers @ 2023-08-31  7:14 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Ian Rogers, Adrian Hunter, Kan Liang, Rob Herring, James Clark,
	linux-perf-users, linux-kernel

Fix a long standing parse_events_term cloning bug so that the bad
display of terms can be fixed and the code somewhat more intuitive:
https://lore.kernel.org/lkml/20230830070753.1821629-2-irogers@google.com/

Fix a bug caused by the rename of 'cpu' to 'default_core' in perf list.

Add more documentation, increase type safety and fix some related bugs
where terms weren't initialized properly.

Ian Rogers (3):
  perf list: Don't print Unit for default_core
  perf parse-events: Name the two term enums
  perf parse-events: Fix propagation of term's no_value when cloning

 tools/perf/builtin-list.c      |   2 +-
 tools/perf/util/parse-events.c | 203 +++++++++++++++++++++++----------
 tools/perf/util/parse-events.h |  60 +++++++---
 tools/perf/util/parse-events.l |   2 +-
 tools/perf/util/parse-events.y |  27 +++--
 tools/perf/util/pmu.c          |   2 +-
 6 files changed, 207 insertions(+), 89 deletions(-)

-- 
2.42.0.rc2.253.gd59a3bf2b4-goog


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

end of thread, other threads:[~2023-08-31 19:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31  7:14 [PATCH v1 0/3] perf list/debug output fixes Ian Rogers
2023-08-31  7:14 ` [PATCH v1 1/3] perf list: Don't print Unit for default_core Ian Rogers
2023-08-31  7:14 ` [PATCH v1 2/3] perf parse-events: Name the two term enums Ian Rogers
2023-08-31  7:14 ` [PATCH v1 3/3] perf parse-events: Fix propagation of term's no_value when cloning Ian Rogers
2023-08-31 18:28 ` [PATCH v1 0/3] perf list/debug output fixes Liang, Kan
2023-08-31 18:41   ` Ian Rogers
2023-08-31 19:25     ` Arnaldo Carvalho de Melo

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).