mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Extra verbose/perf-list details
@ 2024-03-07 17:39 Ian Rogers
  2024-03-07 17:39 ` [PATCH v2 1/6] perf list: Add tracepoint encoding to detailed output Ian Rogers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ian Rogers @ 2024-03-07 17:39 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Yang Jihong, Kan Liang, James Clark,
	Ravi Bangoria, linux-perf-users, linux-kernel

Add more encoding detail and raw event details in perf list. Add PMU
name and reverse lookup from config to event name to
perf_event_attr_fprintf. This makes the verbose output easier to read,
and the perf list information more specific.

v2. Address feedback from Kan Liang, "Raw hardware event descriptor"
    becomes "Raw event descriptor" add assert to keep term numbers in
    sync, fix a commit message.

Ian Rogers (6):
  perf list: Add tracepoint encoding to detailed output
  perf pmu: Drop "default_core" from alias names
  perf list: Allow wordwrap to wrap on commas
  perf list: Give more details about raw event encodings
  perf tools: Use pmus to describe type from attribute
  perf tools: Add/use PMU reverse lookup from config to name

 tools/perf/builtin-list.c                 | 21 ++++-
 tools/perf/util/perf_event_attr_fprintf.c | 26 +++++--
 tools/perf/util/pmu.c                     | 83 +++++++++++++++++++-
 tools/perf/util/pmu.h                     |  4 +
 tools/perf/util/pmus.c                    | 94 +++++++++++++++++++++++
 tools/perf/util/pmus.h                    |  1 +
 tools/perf/util/print-events.c            | 55 +++++++------
 7 files changed, 243 insertions(+), 41 deletions(-)

-- 
2.44.0.278.ge034bb2e1d-goog


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

end of thread, other threads:[~2024-03-07 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 17:39 [PATCH v2 0/6] Extra verbose/perf-list details Ian Rogers
2024-03-07 17:39 ` [PATCH v2 1/6] perf list: Add tracepoint encoding to detailed output Ian Rogers
2024-03-07 17:39 ` [PATCH v2 2/6] perf pmu: Drop "default_core" from alias names Ian Rogers
2024-03-07 17:39 ` [PATCH v2 3/6] perf list: Allow wordwrap to wrap on commas Ian Rogers
2024-03-07 17:39 ` [PATCH v2 4/6] perf list: Give more details about raw event encodings Ian Rogers
2024-03-07 17:39 ` [PATCH v2 5/6] perf tools: Use pmus to describe type from attribute Ian Rogers
2024-03-07 17:39 ` [PATCH v2 6/6] perf tools: Add/use PMU reverse lookup from config to name Ian Rogers

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®