[PULL][Bionic] Restructure perf vendor event support for arm64

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PULL][Bionic] Restructure perf vendor event support for arm64

dann frazier-4
This PR comprises all clean cherry picks from upstream that
restructures arm64 perf vendor event support, followed by a fix to
enable that support for ThunderX2 B0 silicon. The latter could be
backported without the restructuring - indeed, that's what I plan to
submit for artful - however I think this larger backport is a better
approach for bionic. We'll very likely need to add support for other
arm64 platforms throughout the support life of bionic, and that will
be easier/safer if we're on the other side of this transition.

BugLink: https://bugs.launchpad.net/bugs/1760712

The following changes since commit e4a338d3e1f71c4cb11abc41fd571a6d9dc0ef67:

  UBUNTU: Ubuntu-4.15.0-14.15 (2018-04-02 16:09:51 -0300)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux lp1760712-bionic

for you to fetch changes up to 03c09f02d96a3a19e4cdc22b5c99c9c3c41bb339:

  perf vendor events arm64: Enable JSON events for ThunderX2 B0 (2018-04-03 12:18:32 -0600)

----------------------------------------------------------------
Ganapatrao Kulkarni (1):
      perf vendor events arm64: Enable JSON events for ThunderX2 B0

John Garry (11):
      perf vendor events: Drop incomplete multiple mapfile support
      perf vendor events: Fix error code in json_events()
      perf vendor events: Drop support for unused topic directories
      perf vendor events: Add support for pmu events vendor subdirectory
      perf vendor events arm64: Relocate ThunderX2 JSON to cavium subdirectory
      perf vendor events arm64: Relocate Cortex A53 JSONs to arm subdirectory
      perf vendor events: Add support for arch standard events
      perf vendor events arm64: Add armv8-recommended.json
      perf vendor events arm64: Fixup ThunderX2 to use recommended events
      perf vendor events arm64: fixup A53 to use recommended events
      perf vendor events arm64: add HiSilicon hip08 JSON file

William Cohen (1):
      perf vendor events aarch64: Add JSON metrics for ARM Cortex-A53 Processor

 tools/perf/pmu-events/Build                        |   2 +
 tools/perf/pmu-events/README                       |  15 +-
 .../arch/arm64/arm/cortex-a53/branch.json          |  25 ++
 .../pmu-events/arch/arm64/arm/cortex-a53/bus.json  |   8 +
 .../arch/arm64/arm/cortex-a53/cache.json           |  27 ++
 .../arch/arm64/arm/cortex-a53/memory.json          |  12 +
 .../arch/arm64/arm/cortex-a53/other.json           |  28 ++
 .../arch/arm64/arm/cortex-a53/pipeline.json        |  52 +++
 .../pmu-events/arch/arm64/armv8-recommended.json   | 452 +++++++++++++++++++++
 .../arch/arm64/cavium/thunderx2-imp-def.json       |  62 ---
 .../arch/arm64/cavium/thunderx2/core-imp-def.json  |  32 ++
 .../arch/arm64/hisilicon/hip08/core-imp-def.json   | 122 ++++++
 tools/perf/pmu-events/arch/arm64/mapfile.csv       |   5 +-
 tools/perf/pmu-events/jevents.c                    | 291 ++++++++++---
 14 files changed, 1019 insertions(+), 114 deletions(-)
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/branch.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/bus.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/cache.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/memory.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/other.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a53/pipeline.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/armv8-recommended.json
 delete mode 100644 tools/perf/pmu-events/arch/arm64/cavium/thunderx2-imp-def.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/cavium/thunderx2/core-imp-def.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/hisilicon/hip08/core-imp-def.json

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED: [PULL][Bionic] Restructure perf vendor event support for arm64

Seth Forshee
On Wed, Apr 04, 2018 at 12:59:41PM -0600, dann frazier wrote:

> This PR comprises all clean cherry picks from upstream that
> restructures arm64 perf vendor event support, followed by a fix to
> enable that support for ThunderX2 B0 silicon. The latter could be
> backported without the restructuring - indeed, that's what I plan to
> submit for artful - however I think this larger backport is a better
> approach for bionic. We'll very likely need to add support for other
> arm64 platforms throughout the support life of bionic, and that will
> be easier/safer if we're on the other side of this transition.
>
> BugLink: https://bugs.launchpad.net/bugs/1760712
>
> The following changes since commit e4a338d3e1f71c4cb11abc41fd571a6d9dc0ef67:
>
>   UBUNTU: Ubuntu-4.15.0-14.15 (2018-04-02 16:09:51 -0300)
>
> are available in the Git repository at:
>
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux lp1760712-bionic
>
> for you to fetch changes up to 03c09f02d96a3a19e4cdc22b5c99c9c3c41bb339:
>
>   perf vendor events arm64: Enable JSON events for ThunderX2 B0 (2018-04-03 12:18:32 -0600)

Applied to bionic/master-next, thanks!

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team