[PATCH v3 0/3] perf tool: 'config3' attribute support

From: Rob Herring
Date: Wed Sep 14 2022 - 16:09:26 EST


This series is a fix to allow unknown 'configN' attrs and then extends
perf tool to support a new config3 attr.

The config3 support is RFC for context as the kernel side support[1] is
not yet accepted.

[1] https://lore.kernel.org/all/20220825-arm-spe-v8-7-v1-0-c75b8d92e692@xxxxxxxxxx/

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
Rob Herring (3):
perf: Skip and warn on unknown format 'configN' attrs
perf tools: Sync perf_event_attr::config3 addition
perf: Add support for perf_event_attr::config3

include/uapi/linux/perf_event.h | 3 +++
tools/include/uapi/linux/perf_event.h | 3 +++
tools/perf/util/parse-events.c | 9 +++++++++
tools/perf/util/parse-events.h | 1 +
tools/perf/util/parse-events.l | 1 +
tools/perf/util/pmu.c | 16 ++++++++++++++++
tools/perf/util/pmu.h | 3 +++
tools/perf/util/pmu.l | 2 --
tools/perf/util/pmu.y | 15 ++++-----------
9 files changed, 40 insertions(+), 13 deletions(-)
---
base-commit: 1c23f9e627a7b412978b4e852793c5e3c3efc555
change-id: 20220914-arm-perf-tool-spe1-2-v2-cab789c5d598

Best regards,
--
Rob Herring <robh@xxxxxxxxxx>