TEST_ASSERT_VAL 210 tools/perf/arch/x86/tests/bp-modify.c TEST_ASSERT_VAL("modify test 1 failed\n", !bp_modify1()); TEST_ASSERT_VAL 211 tools/perf/arch/x86/tests/bp-modify.c TEST_ASSERT_VAL("modify test 2 failed\n", !bp_modify2()); TEST_ASSERT_VAL 45 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1")); TEST_ASSERT_VAL 46 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,5")); TEST_ASSERT_VAL 47 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3,5,7,9,11,13,15,17,19,21-40")); TEST_ASSERT_VAL 48 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("2-5")); TEST_ASSERT_VAL 49 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); TEST_ASSERT_VAL 50 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); TEST_ASSERT_VAL 51 tools/perf/tests/bitmap.c TEST_ASSERT_VAL("failed to convert map", test_bitmap("1-10,12-20,22-30,32-40")); TEST_ASSERT_VAL 79 tools/perf/tests/bp_account.c TEST_ASSERT_VAL("failed to create wp\n", fd[i] != -1); TEST_ASSERT_VAL 88 tools/perf/tests/bp_account.c TEST_ASSERT_VAL("failed to modify wp\n", ret == 0); TEST_ASSERT_VAL 94 tools/perf/tests/bp_account.c TEST_ASSERT_VAL("failed to create max wp\n", fd_wp != -1); TEST_ASSERT_VAL 149 tools/perf/tests/bp_account.c TEST_ASSERT_VAL("failed to create wp\n", fd[i] != -1); TEST_ASSERT_VAL 27 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__MASK); TEST_ASSERT_VAL 31 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong nr", mask->nr == 1); TEST_ASSERT_VAL 34 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", test_bit(i, mask->mask)); TEST_ASSERT_VAL 38 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong nr", map->nr == 20); TEST_ASSERT_VAL 41 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", map->map[i] == i); TEST_ASSERT_VAL 60 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__CPUS); TEST_ASSERT_VAL 64 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong nr", cpus->nr == 2); TEST_ASSERT_VAL 65 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", cpus->cpu[0] == 1); TEST_ASSERT_VAL 66 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", cpus->cpu[1] == 256); TEST_ASSERT_VAL 69 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong nr", map->nr == 2); TEST_ASSERT_VAL 70 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", map->map[0] == 1); TEST_ASSERT_VAL 71 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong cpu", map->map[1] == 256); TEST_ASSERT_VAL 72 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("wrong refcnt", refcount_read(&map->refcnt) == 1); TEST_ASSERT_VAL 85 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to synthesize map", TEST_ASSERT_VAL 93 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to synthesize map", TEST_ASSERT_VAL 114 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1")); TEST_ASSERT_VAL 115 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,5")); TEST_ASSERT_VAL 116 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3,5,7,9,11,13,15,17,19,21-40")); TEST_ASSERT_VAL 117 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("2-5")); TEST_ASSERT_VAL 118 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3-6,8-10,24,35-37")); TEST_ASSERT_VAL 119 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3-6,8-10,24,35-37")); TEST_ASSERT_VAL 120 tools/perf/tests/cpumap.c TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1-10,12-20,22-30,32-40")); TEST_ASSERT_VAL 123 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("No test file", file); TEST_ASSERT_VAL 129 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("Failed to access to dso", TEST_ASSERT_VAL 142 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("Wrong size", size == data->size); TEST_ASSERT_VAL 143 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); TEST_ASSERT_VAL 153 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("ENOMEM\n", buf); TEST_ASSERT_VAL 161 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("Wrong size", TEST_ASSERT_VAL 165 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("Wrong data", TEST_ASSERT_VAL 188 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to open fd directory", dir); TEST_ASSERT_VAL 209 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to alloc dsos array", dsos); TEST_ASSERT_VAL 215 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get dso file", file); TEST_ASSERT_VAL 218 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get dso", dsos[i]); TEST_ASSERT_VAL 264 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to set file limit", !set_fd_limit(limit)); TEST_ASSERT_VAL 268 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to create dsos\n", TEST_ASSERT_VAL 279 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 287 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to read dso", n == BUFSIZE); TEST_ASSERT_VAL 292 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); TEST_ASSERT_VAL 296 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 299 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to close dsos[0]", dsos[0]->data.fd == -1); TEST_ASSERT_VAL 307 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed leaking files", nr == nr_end); TEST_ASSERT_VAL 336 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to set file limit", TEST_ASSERT_VAL 339 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to create dsos\n", !dsos__create(3, TEST_FILE_SIZE)); TEST_ASSERT_VAL 343 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 347 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 354 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to open extra fd", fd_extra > 0); TEST_ASSERT_VAL 358 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 364 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to close dso_0", dso_0->data.fd == -1); TEST_ASSERT_VAL 368 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to get fd", fd > 0); TEST_ASSERT_VAL 374 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed to close dso_1", dso_1->data.fd == -1); TEST_ASSERT_VAL 383 tools/perf/tests/dso-data.c TEST_ASSERT_VAL("failed leaking files", nr == nr_end); TEST_ASSERT_VAL 194 tools/perf/tests/event-times.c TEST_ASSERT_VAL("failed to attach", !err); TEST_ASSERT_VAL 198 tools/perf/tests/event-times.c TEST_ASSERT_VAL("failed to detach", !detach(evlist)); TEST_ASSERT_VAL 22 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); TEST_ASSERT_VAL 23 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); TEST_ASSERT_VAL 24 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong unit", !strcmp(ev->data, "KRAVA")); TEST_ASSERT_VAL 38 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); TEST_ASSERT_VAL 39 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); TEST_ASSERT_VAL 40 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong scale", ev_data->scale == 0.123); TEST_ASSERT_VAL 57 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); TEST_ASSERT_VAL 58 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); TEST_ASSERT_VAL 59 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name)); TEST_ASSERT_VAL 76 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); TEST_ASSERT_VAL 77 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS); TEST_ASSERT_VAL 78 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong cpus", map->nr == 3); TEST_ASSERT_VAL 79 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong cpus", map->map[0] == 1); TEST_ASSERT_VAL 80 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong cpus", map->map[1] == 2); TEST_ASSERT_VAL 81 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong cpus", map->map[2] == 3); TEST_ASSERT_VAL 93 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to get evlist", evlist); TEST_ASSERT_VAL 97 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to allocate ids", TEST_ASSERT_VAL 104 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to synthesize attr update unit", TEST_ASSERT_VAL 109 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to synthesize attr update scale", TEST_ASSERT_VAL 114 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to synthesize attr update name", TEST_ASSERT_VAL 119 tools/perf/tests/event_update.c TEST_ASSERT_VAL("failed to synthesize attr update cpus", TEST_ASSERT_VAL 14 tools/perf/tests/expr.c TEST_ASSERT_VAL("parse test failed", 0); TEST_ASSERT_VAL 15 tools/perf/tests/expr.c TEST_ASSERT_VAL("unexpected value", val == val2); TEST_ASSERT_VAL 48 tools/perf/tests/expr.c TEST_ASSERT_VAL("division by zero", ret == 1); TEST_ASSERT_VAL 52 tools/perf/tests/expr.c TEST_ASSERT_VAL("missing operand", ret == 1); TEST_ASSERT_VAL 54 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", TEST_ASSERT_VAL 56 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", num_other == 3); TEST_ASSERT_VAL 57 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", !strcmp(other[0], "BAR")); TEST_ASSERT_VAL 58 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", !strcmp(other[1], "BAZ")); TEST_ASSERT_VAL 59 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", !strcmp(other[2], "BOZO")); TEST_ASSERT_VAL 60 tools/perf/tests/expr.c TEST_ASSERT_VAL("find other", other[3] == NULL); TEST_ASSERT_VAL 208 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("Incorrect number of hist entry", TEST_ASSERT_VAL 210 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && TEST_ASSERT_VAL 216 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); TEST_ASSERT_VAL 224 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("callchains expected", !RB_EMPTY_ROOT(root)); TEST_ASSERT_VAL 231 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("Incorrect number of callchain entry", TEST_ASSERT_VAL 233 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL(buf, TEST_ASSERT_VAL 239 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("Incorrect number of callchain entry", TEST_ASSERT_VAL 242 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("Incorrect number of hist entry", TEST_ASSERT_VAL 244 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("Incorrect number of callchain entry", TEST_ASSERT_VAL 707 tools/perf/tests/hists_cumulate.c TEST_ASSERT_VAL("No memory", evlist); TEST_ASSERT_VAL 112 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("No memory", evlist); TEST_ASSERT_VAL 152 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 154 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 156 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 158 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples", TEST_ASSERT_VAL 161 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries", TEST_ASSERT_VAL 163 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period", TEST_ASSERT_VAL 177 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 179 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 181 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 185 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples for thread filter", TEST_ASSERT_VAL 187 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries for thread filter", TEST_ASSERT_VAL 189 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period for thread filter", TEST_ASSERT_VAL 206 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 208 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 210 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 214 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples for dso filter", TEST_ASSERT_VAL 216 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries for dso filter", TEST_ASSERT_VAL 218 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period for dso filter", TEST_ASSERT_VAL 241 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 243 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 245 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 249 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples for symbol filter", TEST_ASSERT_VAL 251 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries for symbol filter", TEST_ASSERT_VAL 253 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period for symbol filter", TEST_ASSERT_VAL 270 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 272 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 274 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 278 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples for socket filter", TEST_ASSERT_VAL 280 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries for socket filter", TEST_ASSERT_VAL 282 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period for socket filter", TEST_ASSERT_VAL 301 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr samples", TEST_ASSERT_VAL 303 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid nr hist entries", TEST_ASSERT_VAL 305 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Invalid total period", TEST_ASSERT_VAL 309 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr samples for all filter", TEST_ASSERT_VAL 311 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched nr hist entries for all filter", TEST_ASSERT_VAL 313 tools/perf/tests/hists_filter.c TEST_ASSERT_VAL("Unmatched total period for all filter", TEST_ASSERT_VAL 168 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 174 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 180 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 186 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 192 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 198 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 204 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 210 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 216 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 268 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 273 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 322 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 328 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 334 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 340 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 346 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 400 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 406 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 412 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 418 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 424 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 430 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 436 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 442 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 448 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 504 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 511 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 518 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 525 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 532 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 539 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 546 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 553 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 560 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 567 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("Invalid hist entry", TEST_ASSERT_VAL 594 tools/perf/tests/hists_output.c TEST_ASSERT_VAL("No memory", evlist); TEST_ASSERT_VAL 17 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("kmod_path__parse", TEST_ASSERT_VAL 23 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); TEST_ASSERT_VAL 24 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("wrong comp", m.comp == comp); TEST_ASSERT_VAL 27 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); TEST_ASSERT_VAL 29 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("wrong name", !m.name); TEST_ASSERT_VAL 37 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("is_kernel_module", TEST_ASSERT_VAL 45 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("failed", !test(path, an, k, c, n)) TEST_ASSERT_VAL 48 tools/perf/tests/kmod-path.c TEST_ASSERT_VAL("failed", !test_is_kernel_module(path, c, e)) TEST_ASSERT_VAL 23 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("wrong map start", map->start == merged[i].start); TEST_ASSERT_VAL 24 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("wrong map end", map->end == merged[i].end); TEST_ASSERT_VAL 25 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("wrong map name", !strcmp(map->dso->name, merged[i].name)); TEST_ASSERT_VAL 26 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("wrong map refcnt", refcount_read(&map->refcnt) == 2); TEST_ASSERT_VAL 31 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("less maps expected", (map && i < size) || (!map && i == size)); TEST_ASSERT_VAL 74 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to create map", map); TEST_ASSERT_VAL 83 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to create map", map_kcore1); TEST_ASSERT_VAL 86 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to create map", map_kcore2); TEST_ASSERT_VAL 89 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to create map", map_kcore3); TEST_ASSERT_VAL 104 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to merge map", !ret); TEST_ASSERT_VAL 107 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("merge check failed", !ret); TEST_ASSERT_VAL 110 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to merge map", !ret); TEST_ASSERT_VAL 113 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("merge check failed", !ret); TEST_ASSERT_VAL 116 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("failed to merge map", !ret); TEST_ASSERT_VAL 119 tools/perf/tests/map_groups.c TEST_ASSERT_VAL("merge check failed", !ret); TEST_ASSERT_VAL 22 tools/perf/tests/mem.c TEST_ASSERT_VAL(failure, !strcmp(string, out)); TEST_ASSERT_VAL 22 tools/perf/tests/mem2node.c #define T TEST_ASSERT_VAL TEST_ASSERT_VAL 168 tools/perf/tests/mmap-thread-lookup.c TEST_ASSERT_VAL("failed to create threads", !threads_create()); TEST_ASSERT_VAL 178 tools/perf/tests/mmap-thread-lookup.c TEST_ASSERT_VAL("failed to destroy threads", !threads_destroy()); TEST_ASSERT_VAL 179 tools/perf/tests/mmap-thread-lookup.c TEST_ASSERT_VAL("failed to synthesize maps", !err); TEST_ASSERT_VAL 230 tools/perf/tests/mmap-thread-lookup.c TEST_ASSERT_VAL("failed with sythesizing all", TEST_ASSERT_VAL 234 tools/perf/tests/mmap-thread-lookup.c TEST_ASSERT_VAL("failed with sythesizing process", TEST_ASSERT_VAL 51 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 52 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); TEST_ASSERT_VAL 53 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 54 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_type", TEST_ASSERT_VAL 56 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 64 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); TEST_ASSERT_VAL 65 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); TEST_ASSERT_VAL 68 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", TEST_ASSERT_VAL 70 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_type", TEST_ASSERT_VAL 72 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_period", TEST_ASSERT_VAL 82 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 83 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 84 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0x1a == evsel->core.attr.config); TEST_ASSERT_VAL 92 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 93 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", 1 == evsel->core.attr.type); TEST_ASSERT_VAL 94 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 1 == evsel->core.attr.config); TEST_ASSERT_VAL 102 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 103 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 104 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 113 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 114 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 115 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 121 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong period", TEST_ASSERT_VAL 123 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config1", TEST_ASSERT_VAL 125 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config2", TEST_ASSERT_VAL 134 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 135 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr.type); TEST_ASSERT_VAL 136 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 145 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 146 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HW_CACHE == evsel->core.attr.type); TEST_ASSERT_VAL 147 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", (1 << 16) == evsel->core.attr.config); TEST_ASSERT_VAL 155 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 156 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 157 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 158 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == TEST_ASSERT_VAL 160 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", HW_BREAKPOINT_LEN_4 == TEST_ASSERT_VAL 169 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 170 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 171 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 172 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", TEST_ASSERT_VAL 174 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", sizeof(long) == evsel->core.attr.bp_len); TEST_ASSERT_VAL 182 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 183 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", TEST_ASSERT_VAL 185 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 186 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", TEST_ASSERT_VAL 188 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", TEST_ASSERT_VAL 197 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 198 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", TEST_ASSERT_VAL 200 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 201 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", TEST_ASSERT_VAL 203 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", TEST_ASSERT_VAL 212 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 213 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", TEST_ASSERT_VAL 215 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 216 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", TEST_ASSERT_VAL 218 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", TEST_ASSERT_VAL 227 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 228 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 229 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 230 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 240 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); TEST_ASSERT_VAL 243 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", TEST_ASSERT_VAL 245 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", TEST_ASSERT_VAL 247 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 248 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 258 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 259 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 260 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 261 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 270 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 271 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 272 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 273 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 282 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 283 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 284 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 285 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 294 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 295 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 304 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 305 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 314 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 315 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 316 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 317 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 326 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 327 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 328 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 329 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 338 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude idle", evsel->core.attr.exclude_idle); TEST_ASSERT_VAL 339 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 340 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 341 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 342 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 343 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 344 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 353 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude idle", evsel->core.attr.exclude_idle); TEST_ASSERT_VAL 354 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 355 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 356 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 357 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 358 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 359 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 369 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 370 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 371 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 372 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 373 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 383 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 384 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 385 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 386 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 387 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 397 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 398 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 399 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 400 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 401 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 411 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 412 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 413 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 414 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 415 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 425 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 426 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 427 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 428 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 429 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 440 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 441 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 442 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 10 == evsel->core.attr.config); TEST_ASSERT_VAL 443 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config1", 1 == evsel->core.attr.config1); TEST_ASSERT_VAL 444 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config2", 3 == evsel->core.attr.config2); TEST_ASSERT_VAL 449 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong period", 0 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 458 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); TEST_ASSERT_VAL 461 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 462 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 1 == evsel->core.attr.config); TEST_ASSERT_VAL 463 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config1", 0 == evsel->core.attr.config1); TEST_ASSERT_VAL 464 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config2", 0 == evsel->core.attr.config2); TEST_ASSERT_VAL 465 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 466 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 467 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 468 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 472 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 473 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_type", TEST_ASSERT_VAL 475 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 476 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 477 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 478 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 479 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 483 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", 1 == evsel->core.attr.type); TEST_ASSERT_VAL 484 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 1 == evsel->core.attr.config); TEST_ASSERT_VAL 485 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 486 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 487 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 488 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 498 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 499 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 500 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 1 == evsel->core.attr.config); TEST_ASSERT_VAL 501 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", !strcmp(perf_evsel__name(evsel), "krava")); TEST_ASSERT_VAL 505 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 506 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 507 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 2 == evsel->core.attr.config); TEST_ASSERT_VAL 508 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name", TEST_ASSERT_VAL 519 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 520 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 521 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 1 == evsel->core.attr.config); TEST_ASSERT_VAL 527 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong period", 0 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 528 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong callgraph", !evsel__has_callchain(evsel)); TEST_ASSERT_VAL 529 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type)); TEST_ASSERT_VAL 533 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 534 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 2 == evsel->core.attr.config); TEST_ASSERT_VAL 540 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong period", 0 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 541 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong callgraph", !evsel__has_callchain(evsel)); TEST_ASSERT_VAL 542 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type)); TEST_ASSERT_VAL 551 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 552 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 553 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", TEST_ASSERT_VAL 555 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", TEST_ASSERT_VAL 557 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 558 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 559 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); TEST_ASSERT_VAL 570 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 571 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", TEST_ASSERT_VAL 573 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", TEST_ASSERT_VAL 575 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 576 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 577 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); TEST_ASSERT_VAL 581 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 582 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type); TEST_ASSERT_VAL 583 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", TEST_ASSERT_VAL 585 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", TEST_ASSERT_VAL 587 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 588 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 589 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); TEST_ASSERT_VAL 600 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type term", TEST_ASSERT_VAL 602 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type val", TEST_ASSERT_VAL 604 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong val", term->val.num == 10); TEST_ASSERT_VAL 605 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", !term->config); TEST_ASSERT_VAL 609 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type term", TEST_ASSERT_VAL 611 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type val", TEST_ASSERT_VAL 613 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong val", term->val.num == 1); TEST_ASSERT_VAL 614 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", !term->config); TEST_ASSERT_VAL 618 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type term", TEST_ASSERT_VAL 620 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type val", TEST_ASSERT_VAL 622 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong val", term->val.num == 3); TEST_ASSERT_VAL 623 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", !term->config); TEST_ASSERT_VAL 627 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type term", TEST_ASSERT_VAL 629 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type val", TEST_ASSERT_VAL 631 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong val", term->val.num == 1); TEST_ASSERT_VAL 632 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); TEST_ASSERT_VAL 641 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 642 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 646 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 647 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 649 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 650 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 651 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 652 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 653 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 654 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 655 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 656 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 657 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 658 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 662 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 663 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 665 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 666 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 667 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 669 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 670 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 671 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip == 2); TEST_ASSERT_VAL 672 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 673 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 674 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 683 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); TEST_ASSERT_VAL 684 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 688 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr.type); TEST_ASSERT_VAL 689 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 691 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 692 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 693 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 694 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 695 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 696 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 697 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 698 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 699 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 700 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 704 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 705 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 707 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 708 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 709 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 710 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 711 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 712 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 713 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 714 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 715 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 719 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 720 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 722 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 723 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 724 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 725 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 726 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 727 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 728 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 729 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 738 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 5 == evlist->core.nr_entries); TEST_ASSERT_VAL 739 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); TEST_ASSERT_VAL 743 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 744 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_type", TEST_ASSERT_VAL 746 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); TEST_ASSERT_VAL 747 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 748 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 749 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 750 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 751 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 752 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 753 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 754 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", TEST_ASSERT_VAL 756 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 757 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 758 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 762 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 763 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 765 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 766 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 767 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 769 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 770 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 771 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip == 3); TEST_ASSERT_VAL 772 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 773 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 774 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 775 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 779 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 780 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 782 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 783 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 784 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 785 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 786 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 787 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 788 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 789 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", TEST_ASSERT_VAL 791 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 792 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 793 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 797 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", 1 == evsel->core.attr.type); TEST_ASSERT_VAL 798 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 3 == evsel->core.attr.config); TEST_ASSERT_VAL 799 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 800 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 801 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 802 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 803 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 804 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 805 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 806 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 807 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 811 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 812 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 814 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 815 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 816 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 817 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 818 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 819 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 820 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 821 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 830 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 831 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 835 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 836 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 838 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 839 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 840 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 842 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 843 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 844 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip == 1); TEST_ASSERT_VAL 845 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 846 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 847 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 848 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 849 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 853 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 854 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 856 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 857 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 858 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 860 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 861 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 862 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip == 2); TEST_ASSERT_VAL 863 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 864 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 865 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 874 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 5 == evlist->core.nr_entries); TEST_ASSERT_VAL 875 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); TEST_ASSERT_VAL 879 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 880 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 882 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 883 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 884 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 885 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 886 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 887 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 888 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 889 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 890 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 891 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 892 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 896 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 897 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 899 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 900 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 901 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 902 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 903 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 904 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 905 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 906 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 907 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 911 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 912 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 914 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 915 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 916 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 917 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 918 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 919 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 920 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 921 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 922 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 923 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 924 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", !evsel->sample_read); TEST_ASSERT_VAL 928 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 929 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 931 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 932 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 933 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 934 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 935 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 936 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 937 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 938 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 942 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 943 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 945 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 946 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 947 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 948 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 949 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 950 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 951 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 960 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 961 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 965 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 966 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 968 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 969 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 970 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 971 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 972 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 973 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 974 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 975 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 976 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 977 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 981 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 982 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 984 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 985 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 986 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 987 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 988 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 989 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 990 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 991 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 1000 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 1001 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 1005 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1006 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1008 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1009 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1010 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1011 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1012 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1013 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1014 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1015 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 1016 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 1017 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 1021 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1022 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1024 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1025 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1026 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1027 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1028 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1029 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1030 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1031 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 1040 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 1041 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 1045 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1046 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1048 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1049 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1050 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1051 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1052 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1053 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1054 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1055 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 1056 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 1057 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 1061 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1062 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1064 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1065 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1066 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1067 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1068 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1069 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1070 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1071 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 1080 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 1081 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); TEST_ASSERT_VAL 1085 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1086 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1088 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1089 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1090 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1091 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1092 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1093 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1094 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1095 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", perf_evsel__is_group_leader(evsel)); TEST_ASSERT_VAL 1096 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); TEST_ASSERT_VAL 1097 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 0); TEST_ASSERT_VAL 1101 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1102 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1104 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1105 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1106 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1107 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", !evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1108 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1109 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1110 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1111 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group_idx", perf_evsel__group_idx(evsel) == 1); TEST_ASSERT_VAL 1120 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); TEST_ASSERT_VAL 1124 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1125 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1127 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1128 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1129 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1130 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1131 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1132 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1133 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1134 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1135 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", evsel->sample_read); TEST_ASSERT_VAL 1139 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1140 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1142 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1143 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1144 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1145 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1146 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1147 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1148 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1149 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", evsel->sample_read); TEST_ASSERT_VAL 1153 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1154 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1156 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1157 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1158 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", !evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1159 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1160 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1161 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1162 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1163 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1164 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", evsel->sample_read); TEST_ASSERT_VAL 1173 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 1177 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1178 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1180 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1181 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1182 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1183 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1184 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1185 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1186 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1187 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1188 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", evsel->sample_read); TEST_ASSERT_VAL 1192 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1193 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1195 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1196 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1197 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1198 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude guest", evsel->core.attr.exclude_guest); TEST_ASSERT_VAL 1199 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude host", !evsel->core.attr.exclude_host); TEST_ASSERT_VAL 1200 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1201 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1202 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1203 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong sample_read", evsel->sample_read); TEST_ASSERT_VAL 1212 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1213 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1214 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1215 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1216 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", evsel->core.attr.pinned); TEST_ASSERT_VAL 1225 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); TEST_ASSERT_VAL 1229 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1230 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1232 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong group name", !evsel->group_name); TEST_ASSERT_VAL 1233 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); TEST_ASSERT_VAL 1234 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", evsel->core.attr.pinned); TEST_ASSERT_VAL 1238 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1239 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1241 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); TEST_ASSERT_VAL 1245 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1247 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); TEST_ASSERT_VAL 1256 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 1257 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 1258 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 1259 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == TEST_ASSERT_VAL 1261 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", HW_BREAKPOINT_LEN_1 == TEST_ASSERT_VAL 1271 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); TEST_ASSERT_VAL 1272 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->core.attr.type); TEST_ASSERT_VAL 1273 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", 0 == evsel->core.attr.config); TEST_ASSERT_VAL 1274 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_type", HW_BREAKPOINT_W == TEST_ASSERT_VAL 1276 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong bp_len", HW_BREAKPOINT_LEN_2 == TEST_ASSERT_VAL 1287 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1288 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1289 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_hv", evsel->core.attr.exclude_hv); TEST_ASSERT_VAL 1290 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); TEST_ASSERT_VAL 1299 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); TEST_ASSERT_VAL 1300 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr.type); TEST_ASSERT_VAL 1301 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", TEST_ASSERT_VAL 1310 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name setting", strcmp(evsel->name, "insn") == 0); TEST_ASSERT_VAL 1318 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name setting", strcmp(evsel->name, "rawpmu") == 0); TEST_ASSERT_VAL 1326 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name setting", strcmp(evsel->name, "numpmu") == 0); TEST_ASSERT_VAL 1334 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name setting", strcmp(evsel->name, "cachepmu") == 0); TEST_ASSERT_VAL 1347 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong name setting", strcmp(evsel->name, "intel_pt//u") == 0); TEST_ASSERT_VAL 1355 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong complex name parsing", strcmp(evsel->name, "COMPLEX_CYCLES_NAME:orig=cycles,desc=chip-clock-ticks") == 0); TEST_ASSERT_VAL 1363 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", evsel->core.attr.type == PERF_TYPE_HARDWARE); TEST_ASSERT_VAL 1364 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", evsel->core.attr.config == PERF_COUNT_HW_CPU_CYCLES); TEST_ASSERT_VAL 1365 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); TEST_ASSERT_VAL 1373 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong type", evsel->core.attr.type == PERF_TYPE_HARDWARE); TEST_ASSERT_VAL 1374 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config", evsel->core.attr.config == PERF_COUNT_HW_CPU_CYCLES); TEST_ASSERT_VAL 1375 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); TEST_ASSERT_VAL 1387 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("Can't open events dir", events_dir); TEST_ASSERT_VAL 1402 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("Can't get sys path", sys_path); TEST_ASSERT_VAL 1405 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("Can't open sys dir", sys_dir); TEST_ASSERT_VAL 1427 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong events count", TEST_ASSERT_VAL 35 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong nr", config->nr == PERF_STAT_CONFIG_TERM__MAX); TEST_ASSERT_VAL 36 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong aggr_mode", HAS(AGGR_MODE, AGGR_CORE)); TEST_ASSERT_VAL 37 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); TEST_ASSERT_VAL 38 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong interval", HAS(INTERVAL, 1)); TEST_ASSERT_VAL 44 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); TEST_ASSERT_VAL 45 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); TEST_ASSERT_VAL 46 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); TEST_ASSERT_VAL 58 tools/perf/tests/stat.c TEST_ASSERT_VAL("failed to synthesize stat_config", TEST_ASSERT_VAL 71 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); TEST_ASSERT_VAL 72 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong thread", st->thread == 2); TEST_ASSERT_VAL 73 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong id", st->id == 3); TEST_ASSERT_VAL 74 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong val", st->val == 100); TEST_ASSERT_VAL 75 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong run", st->ena == 200); TEST_ASSERT_VAL 76 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong ena", st->run == 300); TEST_ASSERT_VAL 88 tools/perf/tests/stat.c TEST_ASSERT_VAL("failed to synthesize stat_config", TEST_ASSERT_VAL 101 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong time", stat_round->time == 0xdeadbeef); TEST_ASSERT_VAL 102 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong type", stat_round->type == PERF_STAT_ROUND_TYPE__INTERVAL); TEST_ASSERT_VAL 108 tools/perf/tests/stat.c TEST_ASSERT_VAL("failed to synthesize stat_config", TEST_ASSERT_VAL 26 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to set process name", TEST_ASSERT_VAL 31 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to alloc map", map); TEST_ASSERT_VAL 35 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong nr", map->nr == 1); TEST_ASSERT_VAL 36 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong pid", TEST_ASSERT_VAL 38 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong comm", TEST_ASSERT_VAL 41 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong refcnt", TEST_ASSERT_VAL 47 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to alloc map", map); TEST_ASSERT_VAL 51 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong nr", map->nr == 1); TEST_ASSERT_VAL 52 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); TEST_ASSERT_VAL 53 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong comm", TEST_ASSERT_VAL 56 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong refcnt", TEST_ASSERT_VAL 70 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong nr", map->nr == 1); TEST_ASSERT_VAL 71 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong pid", map->entries[0].pid == (u64) getpid()); TEST_ASSERT_VAL 72 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME)); TEST_ASSERT_VAL 75 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to alloc map", threads); TEST_ASSERT_VAL 77 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong nr", threads->nr == 1); TEST_ASSERT_VAL 78 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong pid", TEST_ASSERT_VAL 80 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong comm", TEST_ASSERT_VAL 83 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("wrong refcnt", TEST_ASSERT_VAL 93 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to set process name", TEST_ASSERT_VAL 98 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to alloc map", threads); TEST_ASSERT_VAL 102 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to synthesize map", TEST_ASSERT_VAL 114 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to allocate map string", TEST_ASSERT_VAL 119 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to allocate thread_map", TEST_ASSERT_VAL 125 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to remove thread", TEST_ASSERT_VAL 128 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("thread_map count != 1", threads->nr == 1); TEST_ASSERT_VAL 133 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to remove thread", TEST_ASSERT_VAL 136 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("thread_map count != 0", threads->nr == 0); TEST_ASSERT_VAL 141 tools/perf/tests/thread-map.c TEST_ASSERT_VAL("failed to not remove thread", TEST_ASSERT_VAL 42 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("failed to create threads", TEST_ASSERT_VAL 49 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("map groups don't match", mg == t1->mg); TEST_ASSERT_VAL 50 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("map groups don't match", mg == t2->mg); TEST_ASSERT_VAL 51 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("map groups don't match", mg == t3->mg); TEST_ASSERT_VAL 59 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("failed to find other leader", other_leader); TEST_ASSERT_VAL 76 tools/perf/tests/thread-mg-share.c TEST_ASSERT_VAL("map groups don't match", other_mg == other_leader->mg); TEST_ASSERT_VAL 43 tools/perf/tests/topology.c TEST_ASSERT_VAL("can't get session", !IS_ERR(session)); TEST_ASSERT_VAL 46 tools/perf/tests/topology.c TEST_ASSERT_VAL("can't get evlist", session->evlist); TEST_ASSERT_VAL 54 tools/perf/tests/topology.c TEST_ASSERT_VAL("failed to write header", TEST_ASSERT_VAL 74 tools/perf/tests/topology.c TEST_ASSERT_VAL("can't get session", !IS_ERR(session)); TEST_ASSERT_VAL 106 tools/perf/tests/topology.c TEST_ASSERT_VAL("Core ID doesn't match", TEST_ASSERT_VAL 109 tools/perf/tests/topology.c TEST_ASSERT_VAL("Socket ID doesn't match", TEST_ASSERT_VAL 124 tools/perf/tests/topology.c TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); TEST_ASSERT_VAL 18 tools/perf/tests/wp.c TEST_ASSERT_VAL(text, count == val); \