1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright IBM Corp. 2023
5 * Author(s): Thomas Richter <tmricht@linux.ibm.com>
10 #include "../../../util/pmu.h"
12 #define S390_PMUPAI_CRYPTO "pai_crypto"
13 #define S390_PMUPAI_EXT "pai_ext"
14 #define S390_PMUCPUM_CF "cpum_cf"
16 void perf_pmu__arch_init(struct perf_pmu
*pmu
)
18 if (!strcmp(pmu
->name
, S390_PMUPAI_CRYPTO
) ||
19 !strcmp(pmu
->name
, S390_PMUPAI_EXT
) ||
20 !strcmp(pmu
->name
, S390_PMUCPUM_CF
))
21 pmu
->selectable
= true;