@@ -47,7 +47,7 @@ static int test__hybrid_hw_group_event(struct evlist *evlist)
47
47
evsel = evsel__next (evsel );
48
48
TEST_ASSERT_VAL ("wrong type" , PERF_TYPE_HARDWARE == evsel -> core .attr .type );
49
49
TEST_ASSERT_VAL ("wrong hybrid type" , test_hybrid_type (evsel , PERF_TYPE_RAW ));
50
- TEST_ASSERT_VAL ("wrong config" , test_config (evsel , PERF_COUNT_HW_INSTRUCTIONS ));
50
+ TEST_ASSERT_VAL ("wrong config" , test_config (evsel , PERF_COUNT_HW_BRANCH_INSTRUCTIONS ));
51
51
TEST_ASSERT_VAL ("wrong leader" , evsel__has_leader (evsel , leader ));
52
52
return TEST_OK ;
53
53
}
@@ -102,7 +102,7 @@ static int test__hybrid_group_modifier1(struct evlist *evlist)
102
102
evsel = evsel__next (evsel );
103
103
TEST_ASSERT_VAL ("wrong type" , PERF_TYPE_HARDWARE == evsel -> core .attr .type );
104
104
TEST_ASSERT_VAL ("wrong hybrid type" , test_hybrid_type (evsel , PERF_TYPE_RAW ));
105
- TEST_ASSERT_VAL ("wrong config" , test_config (evsel , PERF_COUNT_HW_INSTRUCTIONS ));
105
+ TEST_ASSERT_VAL ("wrong config" , test_config (evsel , PERF_COUNT_HW_BRANCH_INSTRUCTIONS ));
106
106
TEST_ASSERT_VAL ("wrong leader" , evsel__has_leader (evsel , leader ));
107
107
TEST_ASSERT_VAL ("wrong exclude_user" , !evsel -> core .attr .exclude_user );
108
108
TEST_ASSERT_VAL ("wrong exclude_kernel" , evsel -> core .attr .exclude_kernel );
@@ -171,27 +171,27 @@ struct evlist_test {
171
171
172
172
static const struct evlist_test test__hybrid_events [] = {
173
173
{
174
- .name = "cpu_core/cpu- cycles/" ,
174
+ .name = "cpu_core/cycles/" ,
175
175
.check = test__hybrid_hw_event_with_pmu ,
176
176
/* 0 */
177
177
},
178
178
{
179
- .name = "{cpu_core/cpu- cycles/,cpu_core/instructions /}" ,
179
+ .name = "{cpu_core/cycles/,cpu_core/branches /}" ,
180
180
.check = test__hybrid_hw_group_event ,
181
181
/* 1 */
182
182
},
183
183
{
184
- .name = "{cpu-clock,cpu_core/cpu- cycles/}" ,
184
+ .name = "{cpu-clock,cpu_core/cycles/}" ,
185
185
.check = test__hybrid_sw_hw_group_event ,
186
186
/* 2 */
187
187
},
188
188
{
189
- .name = "{cpu_core/cpu- cycles/,cpu-clock}" ,
189
+ .name = "{cpu_core/cycles/,cpu-clock}" ,
190
190
.check = test__hybrid_hw_sw_group_event ,
191
191
/* 3 */
192
192
},
193
193
{
194
- .name = "{cpu_core/cpu- cycles/k,cpu_core/instructions /u}" ,
194
+ .name = "{cpu_core/cycles/k,cpu_core/branches /u}" ,
195
195
.check = test__hybrid_group_modifier1 ,
196
196
/* 4 */
197
197
},
0 commit comments