diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2025-08-29 18:14:22 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-09-22 13:14:37 +0100 |
commit | 2271f1634243897cf18763386994d613a0594d98 (patch) | |
tree | ad563c90f33a0b899361716a789375355e231199 /lib/debugobjects.c | |
parent | 0960e535be5403954701b06e722b68b53463cbe0 (diff) |
drivers/perf: hisi: Extract the event filter check of L3C PMU
L3C PMU has 4 filter options which are sharing perf_event_attr::config1.
Driver will check config1 to see whether a certain event has a filter
setting. It'll be incorrect if we make use of other bits in config1
for non-filter options. So check whether each filter options are set
directly in a separate function instead.
Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Yushan Wang <wangyushan12@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions