diff options
author | Qi Liu <liuqi115@huawei.com> | 2021-06-09 14:40:57 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-11 11:18:40 +0100 |
commit | f8e6d24144d1bfbb8714faa9044e135c0c00bd89 (patch) | |
tree | 644ad1a5de26b5ab419988146d039b6622a7999c /drivers | |
parent | 4c1daba15c209b99d192f147fea3dade30f72ed2 (diff) |
perf: Add EVENT_ATTR_ID to simplify event attributes
Similar EVENT_ATTR macros are defined in many PMU drivers,
like Arm PMU driver, Arm SMMU PMU driver. So add a generic
macro to simplify code.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Link: https://lore.kernel.org/r/1623220863-58233-2-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions