/linux-4.1.27/tools/perf/tests/ |
D | parse-events.c | 19 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_tracepoint() 20 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint() 21 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_tracepoint() 22 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint() 24 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__checkevent_tracepoint() 32 TEST_ASSERT_VAL("wrong number of entries", evlist->nr_entries > 1); in test__checkevent_tracepoint_multi() 33 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi() 36 TEST_ASSERT_VAL("wrong type", in test__checkevent_tracepoint_multi() 38 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint_multi() 40 TEST_ASSERT_VAL("wrong sample_period", in test__checkevent_tracepoint_multi() [all …]
|
D | hists_filter.c | 109 TEST_ASSERT_VAL("No memory", evlist); in test__hists_filter() 148 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 150 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 152 TEST_ASSERT_VAL("Invalid total period", in test__hists_filter() 154 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter() 157 TEST_ASSERT_VAL("Unmatched nr hist entries", in test__hists_filter() 159 TEST_ASSERT_VAL("Unmatched total period", in test__hists_filter() 173 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 175 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 177 TEST_ASSERT_VAL("Invalid total period", in test__hists_filter() [all …]
|
D | dso-data.c | 109 TEST_ASSERT_VAL("No test file", file); in test__dso_data() 115 TEST_ASSERT_VAL("Failed to access to dso", in test__dso_data() 128 TEST_ASSERT_VAL("Wrong size", size == data->size); in test__dso_data() 129 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); in test__dso_data() 139 TEST_ASSERT_VAL("ENOMEM\n", buf); in test__dso_data() 147 TEST_ASSERT_VAL("Wrong size", in test__dso_data() 151 TEST_ASSERT_VAL("Wrong data", in test__dso_data() 174 TEST_ASSERT_VAL("failed to open fd directory", dir); in open_files_cnt() 195 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create() 201 TEST_ASSERT_VAL("failed to get dso file", file); in dsos__create() [all …]
|
D | thread-mg-share.c | 42 TEST_ASSERT_VAL("failed to create threads", in test__thread_mg_share() 46 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 4); in test__thread_mg_share() 49 TEST_ASSERT_VAL("map groups don't match", mg == t1->mg); in test__thread_mg_share() 50 TEST_ASSERT_VAL("map groups don't match", mg == t2->mg); in test__thread_mg_share() 51 TEST_ASSERT_VAL("map groups don't match", mg == t3->mg); in test__thread_mg_share() 59 TEST_ASSERT_VAL("failed to find other leader", other_leader); in test__thread_mg_share() 62 TEST_ASSERT_VAL("wrong refcnt", other_mg->refcnt == 2); in test__thread_mg_share() 64 TEST_ASSERT_VAL("map groups don't match", other_mg == other_leader->mg); in test__thread_mg_share() 68 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 3); in test__thread_mg_share() 71 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 2); in test__thread_mg_share() [all …]
|
D | hists_output.c | 165 TEST_ASSERT_VAL("Invalid hist entry", in test1() 171 TEST_ASSERT_VAL("Invalid hist entry", in test1() 177 TEST_ASSERT_VAL("Invalid hist entry", in test1() 183 TEST_ASSERT_VAL("Invalid hist entry", in test1() 189 TEST_ASSERT_VAL("Invalid hist entry", in test1() 195 TEST_ASSERT_VAL("Invalid hist entry", in test1() 201 TEST_ASSERT_VAL("Invalid hist entry", in test1() 207 TEST_ASSERT_VAL("Invalid hist entry", in test1() 213 TEST_ASSERT_VAL("Invalid hist entry", in test1() 265 TEST_ASSERT_VAL("Invalid hist entry", in test2() [all …]
|
D | kmod-path.c | 13 TEST_ASSERT_VAL("kmod_path__parse", in test() 19 TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); in test() 20 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test() 23 TEST_ASSERT_VAL("wrong ext", m.ext && !strcmp(ext, m.ext)); in test() 25 TEST_ASSERT_VAL("wrong ext", !m.ext); in test() 28 TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); in test() 30 TEST_ASSERT_VAL("wrong name", !m.name); in test() 38 TEST_ASSERT_VAL("failed", !test(path, an, ae, k, c, n, e))
|
D | mmap-thread-lookup.c | 163 TEST_ASSERT_VAL("failed to create threads", !threads_create()); in mmap_events() 174 TEST_ASSERT_VAL("failed to destroy threads", !threads_destroy()); in mmap_events() 175 TEST_ASSERT_VAL("failed to synthesize maps", !err); in mmap_events() 225 TEST_ASSERT_VAL("failed with sythesizing all", in test__mmap_thread_lookup() 229 TEST_ASSERT_VAL("failed with sythesizing process", in test__mmap_thread_lookup()
|
D | hists_cumulate.c | 205 TEST_ASSERT_VAL("Incorrect number of hist entry", in do_test() 207 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test() 213 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test() 226 TEST_ASSERT_VAL("Incorrect number of callchain entry", in do_test() 228 TEST_ASSERT_VAL(buf, in do_test() 234 TEST_ASSERT_VAL("Incorrect number of callchain entry", in do_test() 237 TEST_ASSERT_VAL("Incorrect number of hist entry", in do_test() 239 TEST_ASSERT_VAL("Incorrect number of callchain entry", in do_test() 696 TEST_ASSERT_VAL("No memory", evlist); in test__hists_cumulate()
|
D | tests.h | 4 #define TEST_ASSERT_VAL(text, cond) \ macro
|