@@ -143,6 +143,34 @@ static const struct perf_pmu_test_event unc_cbo_xsnp_response_miss_eviction = {
143
143
.matching_pmu = "uncore_cbox_0" ,
144
144
};
145
145
146
+ static const struct perf_pmu_test_event uncore_hyphen = {
147
+ .event = {
148
+ .name = "event-hyphen" ,
149
+ .event = "umask=0x00,event=0xe0" ,
150
+ .desc = "Unit: uncore_cbox UNC_CBO_HYPHEN" ,
151
+ .topic = "uncore" ,
152
+ .long_desc = "UNC_CBO_HYPHEN" ,
153
+ .pmu = "uncore_cbox" ,
154
+ },
155
+ .alias_str = "umask=0,event=0xe0" ,
156
+ .alias_long_desc = "UNC_CBO_HYPHEN" ,
157
+ .matching_pmu = "uncore_cbox_0" ,
158
+ };
159
+
160
+ static const struct perf_pmu_test_event uncore_two_hyph = {
161
+ .event = {
162
+ .name = "event-two-hyph" ,
163
+ .event = "umask=0x00,event=0xc0" ,
164
+ .desc = "Unit: uncore_cbox UNC_CBO_TWO_HYPH" ,
165
+ .topic = "uncore" ,
166
+ .long_desc = "UNC_CBO_TWO_HYPH" ,
167
+ .pmu = "uncore_cbox" ,
168
+ },
169
+ .alias_str = "umask=0,event=0xc0" ,
170
+ .alias_long_desc = "UNC_CBO_TWO_HYPH" ,
171
+ .matching_pmu = "uncore_cbox_0" ,
172
+ };
173
+
146
174
static const struct perf_pmu_test_event uncore_hisi_l3c_rd_hit_cpipe = {
147
175
.event = {
148
176
.name = "uncore_hisi_l3c.rd_hit_cpipe" ,
@@ -188,6 +216,8 @@ static const struct perf_pmu_test_event uncore_imc_cache_hits = {
188
216
static const struct perf_pmu_test_event * uncore_events [] = {
189
217
& uncore_hisi_ddrc_flux_wcmd ,
190
218
& unc_cbo_xsnp_response_miss_eviction ,
219
+ & uncore_hyphen ,
220
+ & uncore_two_hyph ,
191
221
& uncore_hisi_l3c_rd_hit_cpipe ,
192
222
& uncore_imc_free_running_cache_miss ,
193
223
& uncore_imc_cache_hits ,
@@ -654,6 +684,8 @@ static struct perf_pmu_test_pmu test_pmus[] = {
654
684
},
655
685
.aliases = {
656
686
& unc_cbo_xsnp_response_miss_eviction ,
687
+ & uncore_hyphen ,
688
+ & uncore_two_hyph ,
657
689
},
658
690
},
659
691
{
0 commit comments