linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kan.liang@linux.intel.com
To: acme@kernel.org, mingo@kernel.org, linux-kernel@vger.kernel.org
Cc: peterz@infradead.org, eranian@google.com, namhyung@kernel.org,
	jolsa@redhat.com, ak@linux.intel.com, yao.jin@linux.intel.com,
	maddy@linux.vnet.ibm.com, Kan Liang <kan.liang@linux.intel.com>
Subject: [PATCH 0/9] perf core PMU support for Sapphire Rapids (User tools)
Date: Tue,  2 Feb 2021 12:09:04 -0800	[thread overview]
Message-ID: <1612296553-21962-1-git-send-email-kan.liang@linux.intel.com> (raw)

From: Kan Liang <kan.liang@linux.intel.com>

Intel Sapphire Rapids server is the successor of the Intel Ice Lake
server. There are several user-visible features introduced.
- Two new data source fields, data block & address block, are added in
  the PEBS Memory Info Record for the load latency event.
  Improve the c2c and mem tools to display the reasons of a memory load
  block.
- Support the new instruction latency in perf mem.
  Support the new sample type, PERF_SAMPLE_WEIGHT_STRUCT.
- Support TMA method level 2 metrics with the perf stat --topdown option.
  Update the topdown documentation accordingly.

The full description for the SPR features can be found at Intel
Architecture Instruction Set Extensions and Future Features Programming
Reference, 319433-041 (and later).

The kernel patches has been merged into the tip:perf/core branch.

Kan Liang (9):
  tools headers uapi: Update tools's copy of linux/perf_event.h
  perf tools: Support the auxiliary event
  perf tools: Support data block and addr block
  perf c2c: Support data block and addr block
  perf tools: Support PERF_SAMPLE_WEIGHT_STRUCT
  perf report: Support instruction latency
  perf test: Support PERF_SAMPLE_WEIGHT_STRUCT
  perf stat: Support L2 Topdown events
  perf, tools: Update topdown documentation for Sapphire Rapids

 tools/include/uapi/linux/perf_event.h     | 54 ++++++++++++++++--
 tools/perf/Documentation/perf-report.txt  |  9 ++-
 tools/perf/Documentation/perf-stat.txt    | 14 ++++-
 tools/perf/Documentation/topdown.txt      | 78 ++++++++++++++++++++++++--
 tools/perf/arch/x86/util/Build            |  2 +
 tools/perf/arch/x86/util/evsel.c          |  8 +++
 tools/perf/arch/x86/util/mem-events.c     | 44 +++++++++++++++
 tools/perf/builtin-c2c.c                  |  3 +
 tools/perf/builtin-mem.c                  |  2 +-
 tools/perf/builtin-stat.c                 | 34 +++++++++++-
 tools/perf/tests/sample-parsing.c         | 14 ++++-
 tools/perf/util/event.h                   |  1 +
 tools/perf/util/evsel.c                   | 33 +++++++++--
 tools/perf/util/evsel.h                   |  3 +
 tools/perf/util/hist.c                    | 13 ++++-
 tools/perf/util/hist.h                    |  3 +
 tools/perf/util/intel-pt.c                | 23 +++++++-
 tools/perf/util/mem-events.c              | 36 ++++++++++++
 tools/perf/util/mem-events.h              |  5 ++
 tools/perf/util/parse-events.l            |  1 +
 tools/perf/util/perf_event_attr_fprintf.c |  2 +-
 tools/perf/util/record.c                  |  5 +-
 tools/perf/util/session.c                 |  8 ++-
 tools/perf/util/sort.c                    | 83 +++++++++++++++++++++++++++-
 tools/perf/util/sort.h                    |  4 ++
 tools/perf/util/stat-shadow.c             | 92 +++++++++++++++++++++++++++++++
 tools/perf/util/stat.c                    |  4 ++
 tools/perf/util/stat.h                    |  9 +++
 tools/perf/util/synthetic-events.c        |  8 ++-
 29 files changed, 560 insertions(+), 35 deletions(-)
 create mode 100644 tools/perf/arch/x86/util/evsel.c
 create mode 100644 tools/perf/arch/x86/util/mem-events.c

-- 
2.7.4


             reply	other threads:[~2021-02-02 20:16 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 20:09 kan.liang [this message]
2021-02-02 20:09 ` [PATCH 1/9] tools headers uapi: Update tools's copy of linux/perf_event.h kan.liang
2021-02-02 20:09 ` [PATCH 2/9] perf tools: Support the auxiliary event kan.liang
2021-02-03 20:02   ` Arnaldo Carvalho de Melo
2021-02-03 21:20     ` Liang, Kan
2021-02-03 21:30       ` Arnaldo Carvalho de Melo
2021-02-05 10:52   ` Namhyung Kim
2021-02-05 14:13     ` Liang, Kan
2021-02-05 15:26       ` Arnaldo Carvalho de Melo
2021-02-05 15:45         ` Liang, Kan
2021-02-02 20:09 ` [PATCH 3/9] perf tools: Support data block and addr block kan.liang
2021-02-05 11:02   ` Namhyung Kim
2021-02-05 14:17     ` Liang, Kan
2021-02-02 20:09 ` [PATCH 4/9] perf c2c: " kan.liang
2021-02-03 20:21   ` Arnaldo Carvalho de Melo
2021-02-02 20:09 ` [PATCH 5/9] perf tools: Support PERF_SAMPLE_WEIGHT_STRUCT kan.liang
2021-02-03 20:31   ` Arnaldo Carvalho de Melo
2021-02-03 21:19     ` Liang, Kan
2021-02-03 21:29       ` Arnaldo Carvalho de Melo
2021-02-02 20:09 ` [PATCH 6/9] perf report: Support instruction latency kan.liang
2021-02-03 20:43   ` Arnaldo Carvalho de Melo
2021-02-04 13:11   ` Athira Rajeev
2021-02-04 15:19     ` Liang, Kan
2021-02-05 12:55       ` Athira Rajeev
2021-02-05 14:51         ` Liang, Kan
2021-02-07 16:45           ` Athira Rajeev
2021-02-05 11:08   ` Namhyung Kim
2021-02-05 14:38     ` Liang, Kan
2021-02-06  8:09       ` Namhyung Kim
2021-02-08 13:50         ` Liang, Kan
2021-02-02 20:09 ` [PATCH 7/9] perf test: Support PERF_SAMPLE_WEIGHT_STRUCT kan.liang
2021-02-03 20:44   ` Arnaldo Carvalho de Melo
2021-02-02 20:09 ` [PATCH 8/9] perf stat: Support L2 Topdown events kan.liang
2021-02-02 20:09 ` [PATCH 9/9] perf, tools: Update topdown documentation for Sapphire Rapids kan.liang

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=1612296553-21962-1-git-send-email-kan.liang@linux.intel.com \
    --to=kan.liang@linux.intel.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=eranian@google.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maddy@linux.vnet.ibm.com \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=yao.jin@linux.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 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).