@@ -143,6 +143,34 @@ static const struct perf_pmu_test_event unc_cbo_xsnp_response_miss_eviction = {
143143 .matching_pmu = "uncore_cbox_0" ,
144144};
145145
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+
146174static const struct perf_pmu_test_event uncore_hisi_l3c_rd_hit_cpipe = {
147175 .event = {
148176 .name = "uncore_hisi_l3c.rd_hit_cpipe" ,
@@ -188,6 +216,8 @@ static const struct perf_pmu_test_event uncore_imc_cache_hits = {
188216static const struct perf_pmu_test_event * uncore_events [] = {
189217 & uncore_hisi_ddrc_flux_wcmd ,
190218 & unc_cbo_xsnp_response_miss_eviction ,
219+ & uncore_hyphen ,
220+ & uncore_two_hyph ,
191221 & uncore_hisi_l3c_rd_hit_cpipe ,
192222 & uncore_imc_free_running_cache_miss ,
193223 & uncore_imc_cache_hits ,
@@ -654,6 +684,8 @@ static struct perf_pmu_test_pmu test_pmus[] = {
654684 },
655685 .aliases = {
656686 & unc_cbo_xsnp_response_miss_eviction ,
687+ & uncore_hyphen ,
688+ & uncore_two_hyph ,
657689 },
658690 },
659691 {
0 commit comments