linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] perf report: Add support to print a textual representation of IBS raw sample data
@ 2021-08-17 22:15 Kim Phillips
  2021-08-17 22:15 ` [PATCH 1/3] perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings Kim Phillips
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Kim Phillips @ 2021-08-17 22:15 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, kim.phillips
  Cc: Alexander Shishkin, Arnaldo Carvalho de Melo, Boris Ostrovsky,
	Ian Rogers, Ingo Molnar, Jiri Olsa, Joao Martins,
	Konrad Rzeszutek Wilk, Mark Rutland, Michael Petlan,
	Namhyung Kim, Peter Zijlstra, Robert Richter, Stephane Eranian,
	linux-kernel, linux-perf-users

Hello Linux perf tools users and maintainers,

The first patch in this series prepares the perf tool to support
retrieving cpuid and pmu_mappings data when in report mode,
information that is needed to accurately decode IBS data.

The second patch adds a header file tools/arch/x86/include/asm/amd-ibs.h
from a separate kernel-side submittion [1].

The third patch allows the tool to print a textual representation
of the sample data recorded by IBS.

[1] https://lore.kernel.org/lkml/20210817221048.88063-9-kim.phillips@amd.com

Kim Phillips (3):
  perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings
  perf report: Add tools/arch/x86/include/asm/amd-ibs.h
  perf report: Add support to print a textual representation of IBS raw
    sample data

 tools/arch/x86/include/asm/amd-ibs.h | 132 ++++++++++++
 tools/perf/check-headers.sh          |   1 +
 tools/perf/util/Build                |   1 +
 tools/perf/util/amd-sample-raw.c     | 290 +++++++++++++++++++++++++++
 tools/perf/util/env.c                |  78 +++++++
 tools/perf/util/env.h                |   5 +
 tools/perf/util/sample-raw.c         |   8 +
 tools/perf/util/sample-raw.h         |   6 +-
 8 files changed, 520 insertions(+), 1 deletion(-)
 create mode 100644 tools/arch/x86/include/asm/amd-ibs.h
 create mode 100644 tools/perf/util/amd-sample-raw.c

Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-perf-users@vger.kernel.org

-- 
2.31.1



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

end of thread, other threads:[~2021-09-10 21:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 22:15 [PATCH 0/3] perf report: Add support to print a textual representation of IBS raw sample data Kim Phillips
2021-08-17 22:15 ` [PATCH 1/3] perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings Kim Phillips
2021-08-17 22:15 ` [PATCH 2/3] perf report: Add tools/arch/x86/include/asm/amd-ibs.h Kim Phillips
2021-08-17 22:15 ` [PATCH 3/3] perf report: Add support to print a textual representation of IBS raw sample data Kim Phillips
2021-09-09 21:58 ` [PATCH 0/3] " Kim Phillips
2021-09-10 13:47   ` Arnaldo Carvalho de Melo
2021-09-10 14:08     ` Arnaldo Carvalho de Melo
2021-09-10 14:11       ` Arnaldo Carvalho de Melo
2021-09-10 14:17         ` Arnaldo Carvalho de Melo
2021-09-10 19:48           ` Another bug: " Arnaldo Carvalho de Melo
2021-09-10 20:58             ` Arnaldo Carvalho de Melo
2021-09-10 21:40               ` 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).