]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit948924d956050ffa3a73c82517f6b86f743c7372
tree97e83cc21a7e6740fd7bae1d368a92115f3e256a
parentb6d47ac478a7d3d6ae385702685bc7cdc00e741f
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