perf/core: Assert PERF_EVENT_FLAG_ARCH does not overlap with generic flags
authorAnshuman Khandual <anshuman.khandual@arm.com>
Wed, 7 Sep 2022 09:19:22 +0000 (14:49 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 7 Sep 2022 19:54:00 +0000 (21:54 +0200)
commitf67dd218fafd9de9a13d095e775b621db76a058f
tree97e83cc21a7e6740fd7bae1d368a92115f3e256a
parent7517f08b9a5eef0fa683b976c97d6178d00e6a3d
perf/core: Assert PERF_EVENT_FLAG_ARCH does not overlap with generic flags

This just ensures that PERF_EVENT_FLAG_ARCH does not overlap with generic
hardware event flags.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: James Clark <james.clark@arm.com>
Link: https://lkml.kernel.org/r/20220907091924.439193-3-anshuman.khandual@arm.com
include/linux/perf_event.h