tools/perf/tests/parse-events.c
1002
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES),
tools/perf/tests/parse-events.c
1004
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1005
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1006
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1007
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1008
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1009
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1010
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1011
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1034
TEST_ASSERT_EVSEL("wrong sample_type",
tools/perf/tests/parse-events.c
1037
TEST_ASSERT_EVSEL("wrong sample_period",
tools/perf/tests/parse-events.c
1040
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user,
tools/perf/tests/parse-events.c
1042
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel,
tools/perf/tests/parse-events.c
1044
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1045
TEST_ASSERT_EVSEL("wrong exclude guest", evsel->core.attr.exclude_guest,
tools/perf/tests/parse-events.c
1047
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host,
tools/perf/tests/parse-events.c
1049
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1050
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1051
TEST_ASSERT_EVSEL("wrong group name", !strcmp(evsel->group_name, "group1"),
tools/perf/tests/parse-events.c
1053
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2,
tools/perf/tests/parse-events.c
1055
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1056
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1062
TEST_ASSERT_EVSEL("wrong exclude_user",
tools/perf/tests/parse-events.c
1064
TEST_ASSERT_EVSEL("wrong exclude_kernel",
tools/perf/tests/parse-events.c
1066
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv,
tools/perf/tests/parse-events.c
1068
TEST_ASSERT_EVSEL("wrong exclude guest",
tools/perf/tests/parse-events.c
1070
TEST_ASSERT_EVSEL("wrong exclude host",
tools/perf/tests/parse-events.c
1072
TEST_ASSERT_EVSEL("wrong precise_ip",
tools/perf/tests/parse-events.c
1075
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name,
tools/perf/tests/parse-events.c
1077
TEST_ASSERT_EVSEL("wrong group_idx",
tools/perf/tests/parse-events.c
1081
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1085
TEST_ASSERT_EVSEL("wrong exclude_kernel",
tools/perf/tests/parse-events.c
1087
TEST_ASSERT_EVSEL("wrong exclude_hv",
tools/perf/tests/parse-events.c
1089
TEST_ASSERT_EVSEL("wrong exclude guest",
tools/perf/tests/parse-events.c
1091
TEST_ASSERT_EVSEL("wrong exclude host",
tools/perf/tests/parse-events.c
1093
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip,
tools/perf/tests/parse-events.c
1095
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel),
tools/perf/tests/parse-events.c
1098
TEST_ASSERT_EVSEL("wrong group_idx",
tools/perf/tests/parse-events.c
1102
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1108
TEST_ASSERT_EVSEL("wrong config", 3 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
1109
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user,
tools/perf/tests/parse-events.c
1111
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel,
tools/perf/tests/parse-events.c
1113
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1114
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest,
tools/perf/tests/parse-events.c
1116
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host,
tools/perf/tests/parse-events.c
1118
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1120
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1,
tools/perf/tests/parse-events.c
1123
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1127
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1130
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1131
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1132
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1133
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1134
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1135
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1136
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1137
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
114
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
115
TEST_ASSERT_EVSEL("wrong sample_type",
tools/perf/tests/parse-events.c
1156
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1159
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1160
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1161
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1162
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1163
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1164
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip == 1, evsel);
tools/perf/tests/parse-events.c
1165
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1166
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1167
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1168
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1169
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
117
TEST_ASSERT_EVSEL("wrong sample_period", 1 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
1173
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1176
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1177
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1178
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1179
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1180
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1181
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip == 2, evsel);
tools/perf/tests/parse-events.c
1182
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1183
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1184
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1203
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1206
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1207
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1208
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1209
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1210
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1211
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1212
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1213
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1214
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1215
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1216
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1220
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1223
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1224
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1225
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1226
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1227
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1228
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1229
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1230
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1231
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1236
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1239
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1240
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1241
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1242
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1243
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1244
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1245
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1246
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1247
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1248
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1249
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1253
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1256
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1257
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1258
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1259
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1260
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1261
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1262
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1263
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1268
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1271
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1272
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1273
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1274
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1275
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1276
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1277
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
129
TEST_ASSERT_EVSEL("wrong type",
tools/perf/tests/parse-events.c
1296
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1299
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1300
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1301
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1302
TEST_ASSERT_EVSEL("wrong exclude guest", evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1303
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1304
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1305
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1306
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1307
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1308
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1312
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1315
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1316
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1317
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1318
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1319
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
132
TEST_ASSERT_EVSEL("wrong sample_type",
tools/perf/tests/parse-events.c
1320
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1321
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1322
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1341
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1344
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1345
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1346
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1347
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1348
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1349
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
135
TEST_ASSERT_EVSEL("wrong sample_period",
tools/perf/tests/parse-events.c
1350
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1351
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1352
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1353
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1357
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1360
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1361
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1362
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1363
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1364
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1365
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1366
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1367
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1386
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1389
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1390
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1391
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1392
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1393
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1394
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1395
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1396
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1397
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1398
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1402
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1405
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1406
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1407
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1408
TEST_ASSERT_EVSEL("wrong exclude guest", evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1409
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1410
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1411
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1412
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1431
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1434
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1435
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1436
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1437
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1438
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1439
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1440
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1441
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
1442
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
1443
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
1447
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1450
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1451
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1452
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1453
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1454
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1455
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1456
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1457
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
1473
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1476
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1477
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1478
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1479
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1480
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1481
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1482
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1483
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1484
TEST_ASSERT_EVSEL("wrong sample_read", evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1488
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1491
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1492
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1493
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1494
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1495
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1496
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1497
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1498
TEST_ASSERT_EVSEL("wrong sample_read", evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1502
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1505
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1506
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1507
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1508
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1509
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1510
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1511
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1512
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1513
TEST_ASSERT_EVSEL("wrong sample_read", evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1529
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
153
TEST_ASSERT_EVSEL("wrong config", test_hw_config(evsel, 0x1a), evsel);
tools/perf/tests/parse-events.c
1532
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1533
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1534
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1535
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1536
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1537
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1538
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1539
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
154
TEST_ASSERT_EVSEL("event not parsed as raw type",
tools/perf/tests/parse-events.c
1540
TEST_ASSERT_EVSEL("wrong sample_read", evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1544
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1547
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1548
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1549
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1550
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
1551
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
1552
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1553
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1554
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1555
TEST_ASSERT_EVSEL("wrong sample_read", evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
1570
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1571
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1572
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1573
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1574
TEST_ASSERT_EVSEL("wrong pinned", evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
1590
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1593
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1594
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1597
TEST_ASSERT_EVSEL("wrong pinned", evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
1601
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1604
TEST_ASSERT_EVSEL("wrong pinned", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
1608
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1611
TEST_ASSERT_EVSEL("wrong pinned", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
1623
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1624
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1625
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1626
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1627
TEST_ASSERT_EVSEL("wrong exclusive", evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
1643
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1646
TEST_ASSERT_EVSEL("wrong group name", !evsel->group_name, evsel);
tools/perf/tests/parse-events.c
1647
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
1650
TEST_ASSERT_EVSEL("wrong exclusive", evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
1654
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1657
TEST_ASSERT_EVSEL("wrong exclusive", !evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
1661
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1664
TEST_ASSERT_EVSEL("wrong exclusive", !evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
1673
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
1674
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
1675
TEST_ASSERT_EVSEL("wrong bp_type",
tools/perf/tests/parse-events.c
1678
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_1 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
168
TEST_ASSERT_EVSEL("PMU type expected once", !type_matched, evsel);
tools/perf/tests/parse-events.c
1688
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
1689
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
1690
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel);
tools/perf/tests/parse-events.c
1691
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_2 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
1702
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1703
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
1704
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
1705
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
1717
TEST_ASSERT_EVSEL("wrong type/config", evsel__match(evsel, SOFTWARE, SW_TASK_CLOCK), evsel);
tools/perf/tests/parse-events.c
1728
TEST_ASSERT_EVSEL("wrong name setting", evsel__name_is(evsel, "insn"), evsel);
tools/perf/tests/parse-events.c
1737
TEST_ASSERT_EVSEL("wrong name setting", evsel__name_is(evsel, "rawpmu"), evsel);
tools/perf/tests/parse-events.c
1746
TEST_ASSERT_EVSEL("wrong name setting", evsel__name_is(evsel, "numpmu"), evsel);
tools/perf/tests/parse-events.c
175
TEST_ASSERT_EVSEL("No PMU found for type", type_matched, evsel);
tools/perf/tests/parse-events.c
1757
TEST_ASSERT_EVSEL("wrong name setting", evsel__name_is(evsel, "cachepmu"), evsel);
tools/perf/tests/parse-events.c
1781
TEST_ASSERT_EVSEL("wrong name setting", evsel__name_is(evsel, "intel_pt//u"), evsel);
tools/perf/tests/parse-events.c
1812
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1820
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
1840
TEST_ASSERT_EVSEL("wrong complex name parsing",
tools/perf/tests/parse-events.c
1852
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
1853
TEST_ASSERT_EVSEL("wrong config", 0x1a == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
186
TEST_ASSERT_EVSEL("wrong type", 1 == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
1864
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES), evsel);
tools/perf/tests/parse-events.c
1865
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
187
TEST_ASSERT_EVSEL("wrong config", 1 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
1876
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES), evsel);
tools/perf/tests/parse-events.c
1877
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
1888
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES), evsel);
tools/perf/tests/parse-events.c
1889
TEST_ASSERT_EVSEL("wrong name setting", strcmp(evsel->name, "name") == 0, evsel);
tools/perf/tests/parse-events.c
1900
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES), evsel);
tools/perf/tests/parse-events.c
1901
TEST_ASSERT_EVSEL("wrong name setting", strcmp(evsel->name, "l1d") == 0, evsel);
tools/perf/tests/parse-events.c
199
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
213
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
220
TEST_ASSERT_EVSEL("wrong period", 0 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
221
TEST_ASSERT_EVSEL("wrong config1", 0 == evsel->core.attr.config1, evsel);
tools/perf/tests/parse-events.c
222
TEST_ASSERT_EVSEL("wrong config2", 1 == evsel->core.attr.config2, evsel);
tools/perf/tests/parse-events.c
232
TEST_ASSERT_EVSEL("wrong type/config", evsel__match(evsel, SOFTWARE, SW_PAGE_FAULTS),
tools/perf/tests/parse-events.c
244
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_HW_CACHE == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
245
TEST_ASSERT_EVSEL("wrong config", test_hw_config(evsel, 1 << 16), evsel);
tools/perf/tests/parse-events.c
255
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
256
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
257
TEST_ASSERT_EVSEL("wrong bp_type",
tools/perf/tests/parse-events.c
260
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
269
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
270
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
271
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_X == evsel->core.attr.bp_type, evsel);
tools/perf/tests/parse-events.c
272
TEST_ASSERT_EVSEL("wrong bp_len", default_breakpoint_len() == evsel->core.attr.bp_len,
tools/perf/tests/parse-events.c
282
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
283
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
284
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_R == evsel->core.attr.bp_type, evsel);
tools/perf/tests/parse-events.c
285
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
2871
TEST_ASSERT_EVSEL("wrong type", evsel1->core.attr.type == evsel2->core.attr.type, evsel1);
tools/perf/tests/parse-events.c
2872
TEST_ASSERT_EVSEL("wrong config", evsel1->core.attr.config == evsel2->core.attr.config,
tools/perf/tests/parse-events.c
294
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
295
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
296
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel);
tools/perf/tests/parse-events.c
297
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
306
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
307
TEST_ASSERT_EVSEL("wrong config", 0 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
308
TEST_ASSERT_EVSEL("wrong bp_type",
tools/perf/tests/parse-events.c
311
TEST_ASSERT_EVSEL("wrong bp_len", HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len, evsel);
tools/perf/tests/parse-events.c
320
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
321
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
322
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
323
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
336
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
337
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
338
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
339
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
352
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
353
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
354
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
355
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
367
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
368
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
369
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
370
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
384
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
385
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
386
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
387
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
401
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
402
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
416
TEST_ASSERT_EVSEL("wrong exclude guest", evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
417
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
427
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
428
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
429
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
430
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
444
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
445
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
446
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
447
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
460
TEST_ASSERT_EVSEL("wrong exclude idle", evsel->core.attr.exclude_idle, evsel);
tools/perf/tests/parse-events.c
461
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
462
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
463
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
464
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
465
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
466
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
479
TEST_ASSERT_EVSEL("wrong exclude idle", evsel->core.attr.exclude_idle, evsel);
tools/perf/tests/parse-events.c
480
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
481
TEST_ASSERT_EVSEL("wrong exclude host", evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
482
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
483
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
484
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
485
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
495
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
496
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
497
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
498
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
499
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "mem:0:u"), evsel);
tools/perf/tests/parse-events.c
508
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
509
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
510
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
511
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
512
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "mem:0:x:k"), evsel);
tools/perf/tests/parse-events.c
521
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
522
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
523
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
524
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
525
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "mem:0:r:hp"), evsel);
tools/perf/tests/parse-events.c
534
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
535
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
536
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
537
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
538
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "mem:0:w:up"), evsel);
tools/perf/tests/parse-events.c
547
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
548
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
549
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
550
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
551
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "mem:0:rw:kp"), evsel);
tools/perf/tests/parse-events.c
560
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
561
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
562
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
563
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
564
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint"), evsel);
tools/perf/tests/parse-events.c
573
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
574
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
575
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
576
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
577
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint"), evsel);
tools/perf/tests/parse-events.c
586
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
587
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
588
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
589
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
590
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint"), evsel);
tools/perf/tests/parse-events.c
599
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
600
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
601
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
602
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
603
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint"), evsel);
tools/perf/tests/parse-events.c
612
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
613
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
614
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
615
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
616
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint"), evsel);
tools/perf/tests/parse-events.c
625
TEST_ASSERT_EVSEL("wrong number of entries", 2 == evlist->core.nr_entries, evsel);
tools/perf/tests/parse-events.c
627
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
628
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint1"), evsel);
tools/perf/tests/parse-events.c
632
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
633
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "breakpoint2"), evsel);
tools/perf/tests/parse-events.c
644
TEST_ASSERT_EVSEL("wrong number of entries", 1 == evlist->core.nr_entries, evsel);
tools/perf/tests/parse-events.c
645
TEST_ASSERT_EVSEL("wrong type", core_pmu->type == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
646
TEST_ASSERT_EVSEL("wrong config", test_hw_config(evsel, 10), evsel);
tools/perf/tests/parse-events.c
647
TEST_ASSERT_EVSEL("wrong config1", 1 == evsel->core.attr.config1, evsel);
tools/perf/tests/parse-events.c
648
TEST_ASSERT_EVSEL("wrong config2", 3 == evsel->core.attr.config2, evsel);
tools/perf/tests/parse-events.c
649
TEST_ASSERT_EVSEL("wrong config3", 0 == evsel->core.attr.config3, evsel);
tools/perf/tests/parse-events.c
650
TEST_ASSERT_EVSEL("wrong config4", 0 == evsel->core.attr.config4, evsel);
tools/perf/tests/parse-events.c
655
TEST_ASSERT_EVSEL("wrong period", 0 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
664
TEST_ASSERT_EVSEL("wrong number of entries", 3 <= evlist->core.nr_entries, evsel);
tools/perf/tests/parse-events.c
667
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_TRACEPOINT != evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
669
TEST_ASSERT_EVSEL("wrong config", 1 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
670
TEST_ASSERT_EVSEL("wrong config1", 0 == evsel->core.attr.config1, evsel);
tools/perf/tests/parse-events.c
671
TEST_ASSERT_EVSEL("wrong config2", 0 == evsel->core.attr.config2, evsel);
tools/perf/tests/parse-events.c
672
TEST_ASSERT_EVSEL("wrong config3", 0 == evsel->core.attr.config3, evsel);
tools/perf/tests/parse-events.c
673
TEST_ASSERT_EVSEL("wrong config4", 0 == evsel->core.attr.config4, evsel);
tools/perf/tests/parse-events.c
674
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
675
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
676
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
677
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
682
TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
683
TEST_ASSERT_EVSEL("wrong sample_type", PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type,
tools/perf/tests/parse-events.c
685
TEST_ASSERT_EVSEL("wrong sample_period", 1 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
686
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
687
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
688
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
689
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
693
TEST_ASSERT_EVSEL("wrong type", 1 == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
694
TEST_ASSERT_EVSEL("wrong config", 1 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
695
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
696
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
697
TEST_ASSERT_EVSEL("wrong exclude_hv", !evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
698
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
711
TEST_ASSERT_EVSEL("wrong type", core_pmu->type == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
712
TEST_ASSERT_EVSEL("wrong config", 1 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
713
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, "krava"), evsel);
tools/perf/tests/parse-events.c
717
TEST_ASSERT_EVSEL("wrong number of entries", 2 == evlist->core.nr_entries, evsel);
tools/perf/tests/parse-events.c
718
TEST_ASSERT_EVSEL("wrong type", core_pmu->type == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
719
TEST_ASSERT_EVSEL("wrong config", 2 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
721
TEST_ASSERT_EVSEL("wrong name", evsel__name_is(evsel, buf), evsel);
tools/perf/tests/parse-events.c
733
TEST_ASSERT_EVSEL("wrong type", core_pmu->type == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
734
TEST_ASSERT_EVSEL("wrong config", 1 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
739
TEST_ASSERT_EVSEL("wrong period", 0 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
740
TEST_ASSERT_EVSEL("wrong callgraph", !evsel__has_callchain(evsel), evsel);
tools/perf/tests/parse-events.c
741
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
tools/perf/tests/parse-events.c
745
TEST_ASSERT_EVSEL("wrong type", core_pmu->type == evsel->core.attr.type, evsel);
tools/perf/tests/parse-events.c
746
TEST_ASSERT_EVSEL("wrong config", 2 == evsel->core.attr.config, evsel);
tools/perf/tests/parse-events.c
751
TEST_ASSERT_EVSEL("wrong period", 0 == evsel->core.attr.sample_period, evsel);
tools/perf/tests/parse-events.c
752
TEST_ASSERT_EVSEL("wrong callgraph", !evsel__has_callchain(evsel), evsel);
tools/perf/tests/parse-events.c
753
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
tools/perf/tests/parse-events.c
766
TEST_ASSERT_EVSEL("wrong type",
tools/perf/tests/parse-events.c
771
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
772
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
773
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
774
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
775
TEST_ASSERT_EVSEL("wrong pinned", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
776
TEST_ASSERT_EVSEL("wrong exclusive", !evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
794
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
795
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
796
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
797
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
798
TEST_ASSERT_EVSEL("wrong pinned", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
799
TEST_ASSERT_EVSEL("wrong exclusive", !evsel->core.attr.exclusive, evsel);
tools/perf/tests/parse-events.c
803
TEST_ASSERT_EVSEL("wrong type", evsel__find_pmu(evsel)->is_core, evsel);
tools/perf/tests/parse-events.c
804
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
805
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
806
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
807
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
808
TEST_ASSERT_EVSEL("wrong pinned", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
809
TEST_ASSERT_EVSEL("wrong exclusive", !evsel->core.attr.pinned, evsel);
tools/perf/tests/parse-events.c
917
TEST_ASSERT_EVSEL("unexpected event",
tools/perf/tests/parse-events.c
920
TEST_ASSERT_EVSEL("wrong exclude_user", evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
921
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
922
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
923
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
924
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
925
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
926
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
927
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2, evsel);
tools/perf/tests/parse-events.c
928
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
929
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
933
TEST_ASSERT_EVSEL("unexpected event", evsel__match(evsel, HARDWARE, HW_CPU_CYCLES),
tools/perf/tests/parse-events.c
935
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user, evsel);
tools/perf/tests/parse-events.c
936
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel, evsel);
tools/perf/tests/parse-events.c
937
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
938
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest, evsel);
tools/perf/tests/parse-events.c
939
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host, evsel);
tools/perf/tests/parse-events.c
940
TEST_ASSERT_EVSEL("wrong precise_ip", evsel->core.attr.precise_ip == 2, evsel);
tools/perf/tests/parse-events.c
941
TEST_ASSERT_EVSEL("wrong leader", evsel__has_leader(evsel, leader), evsel);
tools/perf/tests/parse-events.c
942
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1, evsel);
tools/perf/tests/parse-events.c
943
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
965
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user,
tools/perf/tests/parse-events.c
967
TEST_ASSERT_EVSEL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel,
tools/perf/tests/parse-events.c
969
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
970
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest,
tools/perf/tests/parse-events.c
972
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host,
tools/perf/tests/parse-events.c
974
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
975
TEST_ASSERT_EVSEL("wrong leader", evsel__is_group_leader(evsel), evsel);
tools/perf/tests/parse-events.c
976
TEST_ASSERT_EVSEL("wrong core.nr_members", evsel->core.nr_members == 2,
tools/perf/tests/parse-events.c
978
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 0, evsel);
tools/perf/tests/parse-events.c
979
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);
tools/perf/tests/parse-events.c
984
TEST_ASSERT_EVSEL("wrong exclude_user", !evsel->core.attr.exclude_user,
tools/perf/tests/parse-events.c
986
TEST_ASSERT_EVSEL("wrong exclude_kernel", evsel->core.attr.exclude_kernel,
tools/perf/tests/parse-events.c
988
TEST_ASSERT_EVSEL("wrong exclude_hv", evsel->core.attr.exclude_hv, evsel);
tools/perf/tests/parse-events.c
989
TEST_ASSERT_EVSEL("wrong exclude guest", !evsel->core.attr.exclude_guest,
tools/perf/tests/parse-events.c
991
TEST_ASSERT_EVSEL("wrong exclude host", !evsel->core.attr.exclude_host,
tools/perf/tests/parse-events.c
993
TEST_ASSERT_EVSEL("wrong precise_ip", !evsel->core.attr.precise_ip, evsel);
tools/perf/tests/parse-events.c
995
TEST_ASSERT_EVSEL("wrong group_idx", evsel__group_idx(evsel) == 1,
tools/perf/tests/parse-events.c
998
TEST_ASSERT_EVSEL("wrong sample_read", !evsel->sample_read, evsel);