Re: [PATCH v2] perf print-events: make is_event_supported() more robust

From: Namhyung Kim
Date: Mon Feb 26 2024 - 11:33:02 EST


On Fri, 26 Jan 2024 14:56:05 +0000, Mark Rutland wrote:
> Currently the perf tool doesn't detect support for extended event types
> on Apple M1/M2 systems, and will not auto-expand plain PERF_EVENT_TYPE
> hardware events into per-PMU events. This is due to the detection of
> extended event types not handling mandatory filters required by the
> M1/M2 PMU driver.
>
> PMU drivers and the core perf_events code can require that
> perf_event_attr::exclude_* filters are configured in a specific way and
> may reject certain configurations of filters, for example:
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>