Symbol: TEST_ASSERT_EQUAL
tools/perf/tests/cpumap.c
214
TEST_ASSERT_EQUAL("failed to intersect map: bad nr", perf_cpu_map__nr(c), nr);
tools/perf/tests/expand-cgroup.c
199
TEST_ASSERT_EQUAL("failed to expand default events", ret, 0);
tools/perf/tests/expand-cgroup.c
202
TEST_ASSERT_EQUAL("failed to expand event group", ret, 0);
tools/perf/tests/expand-cgroup.c
205
TEST_ASSERT_EQUAL("failed to expand event group", ret, 0);
tools/perf/tests/expand-cgroup.c
208
TEST_ASSERT_EQUAL("failed to expand metric events", ret, 0);
tools/perf/tests/expr.c
27
TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 0);
tools/perf/tests/expr.c
33
TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("foo")), 0);
tools/perf/tests/expr.c
34
TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("bar")), 0);
tools/perf/tests/expr.c
37
TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2);
tools/perf/tests/expr.c
42
TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("foo")), 0);
tools/perf/tests/expr.c
45
TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2);
tools/perf/tests/expr.c
50
TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("bar")), 0);
tools/perf/tests/expr.c
51
TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("baz")), 0);
tools/perf/tests/expr.c
54
TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 3);
tools/perf/tests/expr.c
85
TEST_ASSERT_EQUAL("ids_union", test_ids_union(), 0);
tools/perf/tests/hwmon_pmu.c
328
TEST_ASSERT_EQUAL("parse_hwmon_filename",
tools/perf/tests/hwmon_pmu.c
338
TEST_ASSERT_EQUAL("parse_hwmon_filename type", type, tests[i].type);
tools/perf/tests/hwmon_pmu.c
339
TEST_ASSERT_EQUAL("parse_hwmon_filename number", number, tests[i].number);
tools/perf/tests/hwmon_pmu.c
340
TEST_ASSERT_EQUAL("parse_hwmon_filename item", item, tests[i].item);
tools/perf/tests/hwmon_pmu.c
341
TEST_ASSERT_EQUAL("parse_hwmon_filename alarm", alarm, tests[i].alarm);
tools/perf/tests/pfm.c
161
TEST_ASSERT_EQUAL(table[i].events,
tools/perf/tests/pfm.c
164
TEST_ASSERT_EQUAL(table[i].events,
tools/perf/tests/pfm.c
76
TEST_ASSERT_EQUAL(table[i].events,
tools/perf/tests/pfm.c
79
TEST_ASSERT_EQUAL(table[i].events,
tools/perf/tests/pmu.c
248
TEST_ASSERT_EQUAL("krava01 overwritten", (int) val, (15 & 0b11));
tools/perf/tests/pmu.c
252
TEST_ASSERT_EQUAL("krava11 overwritten", (int) val, (27 | (4 << 1)));
tools/perf/tests/pmu.c
256
TEST_ASSERT_EQUAL("krava02 overwritten", (int) val, 170);
tools/perf/tests/pmu.c
260
TEST_ASSERT_EQUAL("krava03 overwritten", (int) val, 1);
tools/perf/tests/pmu.c
269
TEST_ASSERT_EQUAL("krava13 overwritten", (int) val, 0);
tools/perf/tests/pmu.c
278
TEST_ASSERT_EQUAL("krava21 not overwritten", (int) val, 13905);
tools/perf/tests/pmu.c
282
TEST_ASSERT_EQUAL("krava22 not overwritten", (int) val, 11);
tools/perf/tests/pmu.c
286
TEST_ASSERT_EQUAL("krava23 not overwritten", (int) val, 0);
tools/perf/tests/pmu.c
521
TEST_ASSERT_EQUAL("cpu", pmu_name_cmp("cpu", "cpu"), 0);
tools/perf/tests/pmu.c
522
TEST_ASSERT_EQUAL("i915", pmu_name_cmp("i915", "i915"), 0);
tools/perf/tests/pmu.c
523
TEST_ASSERT_EQUAL("cpum_cf", pmu_name_cmp("cpum_cf", "cpum_cf"), 0);
tools/perf/tests/pmu.c
556
TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect)
tools/perf/tests/sigtrap.c
181
TEST_ASSERT_EQUAL("pthread_join() failed", pthread_join(threads[i], NULL), 0);
tools/perf/tests/sigtrap.c
192
TEST_ASSERT_EQUAL("misfired signal?", ctx.signal_count, 0);
tools/perf/tests/sigtrap.c
193
TEST_ASSERT_EQUAL("enable failed", ioctl(fd, PERF_EVENT_IOC_ENABLE, 0), 0);
tools/perf/tests/sigtrap.c
195
TEST_ASSERT_EQUAL("disable failed", ioctl(fd, PERF_EVENT_IOC_DISABLE, 0), 0);
tools/perf/tests/sigtrap.c
205
TEST_ASSERT_EQUAL("unexpected sigtraps", ctx.signal_count, expected_sigtraps);
tools/perf/tests/sigtrap.c
207
TEST_ASSERT_EQUAL("missing signals or incorrectly delivered", ctx.tids_want_signal, 0);
tools/perf/tests/sigtrap.c
210
TEST_ASSERT_EQUAL("unexpected si_perf_type", ctx.first_siginfo.si_perf_type,
tools/perf/tests/sigtrap.c
212
TEST_ASSERT_EQUAL("unexpected si_perf_data", ctx.first_siginfo.si_perf_data,
tools/perf/tests/thread-maps-share.c
46
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4);
tools/perf/tests/thread-maps-share.c
74
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 2);
tools/perf/tests/thread-maps-share.c
80
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3);
tools/perf/tests/thread-maps-share.c
83
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2);
tools/perf/tests/thread-maps-share.c
86
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1);
tools/perf/tests/thread-maps-share.c
92
TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 1);