OSDN Git Service

perf vendor events arm64: Revise core JSON events for eMAG
authorSean V Kelley <seanvk.dev@oregontracks.org>
Sun, 16 Sep 2018 22:12:03 +0000 (15:12 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Sep 2018 18:54:40 +0000 (15:54 -0300)
commitd35c595bf0053b7df80ef9d44140ac5da6cc698b
tree675fb6ada6a6241f4c3e221f421caebbe9175b2a
parentbea6385789b8b5e1e3228a281978ca6c4a8c70a0
perf vendor events arm64: Revise core JSON events for eMAG

Split the PMU events into meaningful functional groups.  Update core pmu
events based on supported ARMv8 recommended IMPLEMENTATION DEFINED
events.

The JSON files are updated with reference to a PMU table shared here:

  https://github.com/AmpereComputing/ampere-centos-kernel/blob/amp-centos-7.5-kernel/Documentation/arm64/eMAG-ARM-CoreImpDefined.pdf

Changes in v3:
- Removed CHAIN event as it wouldn't be useful in Perf - William
- Will factor out events 0x00-0x38 in a follow-on patch - William
- to armv8-recommended.json
Changes in V2:
- Provided documentation for changes - John, William
- Broke up into meaningful groups - William

Signed-off-by: Sean V Kelley <seanvk.dev@oregontracks.org>
Reviewed-by: William Cohen <wcohen@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: linux-arm-kernel@lists.infradead.org
LPU-Reference: 20180916221203.7935-1-seanvk.dev@oregontracks.org
Link: https://lkml.kernel.org/n/tip-tzvs1ip6srcv2et0ny58e0wy@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/arm64/ampere/emag/branch.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/bus.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/cache.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/clock.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/core-imp-def.json [deleted file]
tools/perf/pmu-events/arch/arm64/ampere/emag/exception.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/instruction.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/intrinsic.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/memory.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/ampere/emag/pipeline.json [new file with mode: 0644]