Re: [PATCH 1/9] perf: Add EVENT_ATTR_ID to simplify event attributes

From: John Garry
Date: Tue May 18 2021 - 04:09:17 EST


On 18/05/2021 08:23, Qi Liu wrote:
Similar EVENT_ATTR macros are defined in many PMU drivers,
like HiSilicon PMU driver, Arm PMU driver, Arm SMMU PMU
driver. So Add a generic macro to simplify code.

Signed-off-by: Qi Liu <liuqi115@xxxxxxxxxx>
---
include/linux/perf_event.h | 6 ++++++
kernel/events/core.c | 2 ++
2 files changed, 8 insertions(+)


I think that you need to resend with all the maintainers for these files included.

Thanks