/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | parse-events.c | 89 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint() 90 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist__nr_groups(evlist)); in test__checkevent_tracepoint() 91 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint() 92 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint() 94 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint() 102 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi() 103 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist__nr_groups(evlist)); in test__checkevent_tracepoint_multi() 106 TEST_ASSERT_VAL("wrong type", in test__checkevent_tracepoint_multi() 108 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint_multi() 110 TEST_ASSERT_VAL("wron in test__checkevent_tracepoint_multi() [all...] |
H A D | expr.c | 20 TEST_ASSERT_VAL("ids__new", ids1); in test_ids_union() 22 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union() 29 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union() 39 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union() 47 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union() 64 TEST_ASSERT_VAL("parse test failed", 0); in test() 65 TEST_ASSERT_VAL("unexpected value", val == val2); in test() 85 TEST_ASSERT_VAL("expr__ctx_new", ctx); in test__expr() 123 TEST_ASSERT_VAL("division by zero", ret == 0); in test__expr() 124 TEST_ASSERT_VAL("divisio in test__expr() [all...] |
H A D | thread-map.c | 27 TEST_ASSERT_VAL("failed to set process name", in test__thread_map() 32 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map() 36 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map() 37 TEST_ASSERT_VAL("wrong pid", in test__thread_map() 39 TEST_ASSERT_VAL("wrong comm", in test__thread_map() 42 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map() 48 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map() 52 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map() 53 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map() 54 TEST_ASSERT_VAL("wron in test__thread_map() [all...] |
H A D | topology.c | 42 TEST_ASSERT_VAL("can't get session", !IS_ERR(session)); in session_write_header() 45 TEST_ASSERT_VAL("can't get evlist", session->evlist); in session_write_header() 53 TEST_ASSERT_VAL("failed to write header", in session_write_header() 73 TEST_ASSERT_VAL("can't get session", !IS_ERR(session)); in check_cpu_topology() 113 TEST_ASSERT_VAL("Session header CPU map not set", session->header.env.cpu); in check_cpu_topology() 128 TEST_ASSERT_VAL("Cpu map - CPU ID doesn't match", in check_cpu_topology() 131 TEST_ASSERT_VAL("Cpu map - Core ID doesn't match", in check_cpu_topology() 133 TEST_ASSERT_VAL("Cpu map - Socket ID doesn't match", in check_cpu_topology() 137 TEST_ASSERT_VAL("Cpu map - Die ID doesn't match", in check_cpu_topology() 139 TEST_ASSERT_VAL("Cp in check_cpu_topology() [all...] |
H A D | cpumap.c | 26 TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__MASK); in process_event_mask() 30 TEST_ASSERT_VAL("wrong long_size", long_size == 4 || long_size == 8); in process_event_mask() 32 TEST_ASSERT_VAL("wrong nr", data->mask32_data.nr == 1); in process_event_mask() 34 TEST_ASSERT_VAL("wrong cpu", perf_record_cpu_map_data__test_bit(0, data)); in process_event_mask() 35 TEST_ASSERT_VAL("wrong cpu", !perf_record_cpu_map_data__test_bit(1, data)); in process_event_mask() 37 TEST_ASSERT_VAL("wrong cpu", perf_record_cpu_map_data__test_bit(i, data)); in process_event_mask() 40 TEST_ASSERT_VAL("wrong nr", perf_cpu_map__nr(map) == 20); in process_event_mask() 42 TEST_ASSERT_VAL("wrong cpu", perf_cpu_map__cpu(map, 0).cpu == 0); in process_event_mask() 44 TEST_ASSERT_VAL("wrong cpu", perf_cpu_map__cpu(map, i - 1).cpu == i); in process_event_mask() 61 TEST_ASSERT_VAL("wron in process_event_cpus() [all...] |
H A D | event_update.c | 22 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit() 23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit() 24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->unit, "KRAVA")); in process_event_unit() 35 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale() 36 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale() 37 TEST_ASSERT_VAL("wrong scale", ev->scale.scale == 0.123); in process_event_scale() 54 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name() 55 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name() 56 TEST_ASSERT_VAL("wrong name", !strcmp(ev->name, tmp->name)); in process_event_name() 70 TEST_ASSERT_VAL("wron in process_event_cpus() [all...] |
H A D | hists_filter.c | 124 TEST_ASSERT_VAL("No memory", evlist); in test__hists_filter() 164 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 166 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 168 TEST_ASSERT_VAL("Invalid total period", in test__hists_filter() 170 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter() 173 TEST_ASSERT_VAL("Unmatched nr hist entries", in test__hists_filter() 175 TEST_ASSERT_VAL("Unmatched total period", in test__hists_filter() 189 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 191 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 193 TEST_ASSERT_VAL("Invali in test__hists_filter() [all...] |
H A D | stat.c | 35 TEST_ASSERT_VAL("wrong nr", config->nr == PERF_STAT_CONFIG_TERM__MAX); in process_stat_config_event() 36 TEST_ASSERT_VAL("wrong aggr_mode", HAS(AGGR_MODE, AGGR_CORE)); in process_stat_config_event() 37 TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); in process_stat_config_event() 38 TEST_ASSERT_VAL("wrong interval", HAS(INTERVAL, 1)); in process_stat_config_event() 44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 45 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); in process_stat_config_event() 46 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); in process_stat_config_event() 59 TEST_ASSERT_VAL("failed to synthesize stat_config", in test__synthesize_stat_config() 72 TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); in process_stat_event() 73 TEST_ASSERT_VAL("wron in process_stat_event() [all...] |
H A D | parse-metric.c | 146 TEST_ASSERT_VAL("failed to compute metric", in test_ipc() 149 TEST_ASSERT_VAL("IPC failed, wrong ratio", in test_ipc() 165 TEST_ASSERT_VAL("failed to compute metric", in test_frontend() 168 TEST_ASSERT_VAL("Frontend_Bound_SMT failed, wrong ratio", in test_frontend() 183 TEST_ASSERT_VAL("failed to compute metric", in test_cache_miss_cycles() 186 TEST_ASSERT_VAL("cache_miss_cycles failed, wrong ratio", in test_cache_miss_cycles() 226 TEST_ASSERT_VAL("failed to compute metric", in test_dcache_l2() 229 TEST_ASSERT_VAL("DCache_L2_Hits failed, wrong ratio", in test_dcache_l2() 232 TEST_ASSERT_VAL("failed to compute metric", in test_dcache_l2() 235 TEST_ASSERT_VAL("DCache_L2_Misse in test_dcache_l2() [all...] |
H A D | dso-data.c | 123 TEST_ASSERT_VAL("No test file", file); in test__dso_data() 129 TEST_ASSERT_VAL("Failed to access to dso", in test__dso_data() 142 TEST_ASSERT_VAL("Wrong size", size == data->size); in test__dso_data() 143 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); in test__dso_data() 153 TEST_ASSERT_VAL("ENOMEM\n", buf); in test__dso_data() 161 TEST_ASSERT_VAL("Wrong size", in test__dso_data() 165 TEST_ASSERT_VAL("Wrong data", in test__dso_data() 188 TEST_ASSERT_VAL("failed to open fd directory", dir); in open_files_cnt() 209 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create() 215 TEST_ASSERT_VAL("faile in dsos__create() [all...] |
H A D | maps.c | 90 TEST_ASSERT_VAL("failed to create maps", maps); in test__maps__merge_in() 96 TEST_ASSERT_VAL("failed to create map", map); in test__maps__merge_in() 100 TEST_ASSERT_VAL("failed to insert map", maps__insert(maps, map) == 0); in test__maps__merge_in() 105 TEST_ASSERT_VAL("failed to create map", map_kcore1); in test__maps__merge_in() 108 TEST_ASSERT_VAL("failed to create map", map_kcore2); in test__maps__merge_in() 111 TEST_ASSERT_VAL("failed to create map", map_kcore3); in test__maps__merge_in() 126 TEST_ASSERT_VAL("failed to merge map", !ret); in test__maps__merge_in() 129 TEST_ASSERT_VAL("merge check failed", !ret); in test__maps__merge_in() 132 TEST_ASSERT_VAL("failed to merge map", !ret); in test__maps__merge_in() 135 TEST_ASSERT_VAL("merg in test__maps__merge_in() [all...] |
H A D | hists_output.c | 181 TEST_ASSERT_VAL("Invalid hist entry", in test1() 187 TEST_ASSERT_VAL("Invalid hist entry", in test1() 193 TEST_ASSERT_VAL("Invalid hist entry", in test1() 199 TEST_ASSERT_VAL("Invalid hist entry", in test1() 205 TEST_ASSERT_VAL("Invalid hist entry", in test1() 211 TEST_ASSERT_VAL("Invalid hist entry", in test1() 217 TEST_ASSERT_VAL("Invalid hist entry", in test1() 223 TEST_ASSERT_VAL("Invalid hist entry", in test1() 229 TEST_ASSERT_VAL("Invalid hist entry", in test1() 281 TEST_ASSERT_VAL("Invali in test2() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | parse-events.c | 51 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint() 52 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint() 53 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint() 54 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint() 56 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint() 64 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi() 65 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi() 68 TEST_ASSERT_VAL("wrong type", in test__checkevent_tracepoint_multi() 70 TEST_ASSERT_VAL("wrong sample_type", in test__checkevent_tracepoint_multi() 72 TEST_ASSERT_VAL("wron in test__checkevent_tracepoint_multi() [all...] |
H A D | thread-map.c | 26 TEST_ASSERT_VAL("failed to set process name", in test__thread_map() 31 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map() 35 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map() 36 TEST_ASSERT_VAL("wrong pid", in test__thread_map() 38 TEST_ASSERT_VAL("wrong comm", in test__thread_map() 41 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map() 47 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map() 51 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map() 52 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map() 53 TEST_ASSERT_VAL("wron in test__thread_map() [all...] |
H A D | cpumap.c | 27 TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__MASK); in process_event_mask() 31 TEST_ASSERT_VAL("wrong nr", mask->nr == 1); in process_event_mask() 34 TEST_ASSERT_VAL("wrong cpu", test_bit(i, mask->mask)); in process_event_mask() 38 TEST_ASSERT_VAL("wrong nr", map->nr == 20); in process_event_mask() 41 TEST_ASSERT_VAL("wrong cpu", map->map[i] == i); in process_event_mask() 60 TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__CPUS); in process_event_cpus() 64 TEST_ASSERT_VAL("wrong nr", cpus->nr == 2); in process_event_cpus() 65 TEST_ASSERT_VAL("wrong cpu", cpus->cpu[0] == 1); in process_event_cpus() 66 TEST_ASSERT_VAL("wrong cpu", cpus->cpu[1] == 256); in process_event_cpus() 69 TEST_ASSERT_VAL("wron in process_event_cpus() [all...] |
H A D | event_update.c | 22 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit() 23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit() 24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->data, "KRAVA")); in process_event_unit() 38 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale() 39 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale() 40 TEST_ASSERT_VAL("wrong scale", ev_data->scale == 0.123); in process_event_scale() 57 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name() 58 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name() 59 TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name)); in process_event_name() 76 TEST_ASSERT_VAL("wron in process_event_cpus() [all...] |
H A D | hists_filter.c | 112 TEST_ASSERT_VAL("No memory", evlist); in test__hists_filter() 152 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 154 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 156 TEST_ASSERT_VAL("Invalid total period", in test__hists_filter() 158 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter() 161 TEST_ASSERT_VAL("Unmatched nr hist entries", in test__hists_filter() 163 TEST_ASSERT_VAL("Unmatched total period", in test__hists_filter() 177 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter() 179 TEST_ASSERT_VAL("Invalid nr hist entries", in test__hists_filter() 181 TEST_ASSERT_VAL("Invali in test__hists_filter() [all...] |
H A D | stat.c | 35 TEST_ASSERT_VAL("wrong nr", config->nr == PERF_STAT_CONFIG_TERM__MAX); in process_stat_config_event() 36 TEST_ASSERT_VAL("wrong aggr_mode", HAS(AGGR_MODE, AGGR_CORE)); in process_stat_config_event() 37 TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); in process_stat_config_event() 38 TEST_ASSERT_VAL("wrong interval", HAS(INTERVAL, 1)); in process_stat_config_event() 44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 45 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); in process_stat_config_event() 46 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); in process_stat_config_event() 58 TEST_ASSERT_VAL("failed to synthesize stat_config", in test__synthesize_stat_config() 71 TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); in process_stat_event() 72 TEST_ASSERT_VAL("wron in process_stat_event() [all...] |
H A D | dso-data.c | 123 TEST_ASSERT_VAL("No test file", file); in test__dso_data() 129 TEST_ASSERT_VAL("Failed to access to dso", in test__dso_data() 142 TEST_ASSERT_VAL("Wrong size", size == data->size); in test__dso_data() 143 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); in test__dso_data() 153 TEST_ASSERT_VAL("ENOMEM\n", buf); in test__dso_data() 161 TEST_ASSERT_VAL("Wrong size", in test__dso_data() 165 TEST_ASSERT_VAL("Wrong data", in test__dso_data() 188 TEST_ASSERT_VAL("failed to open fd directory", dir); in open_files_cnt() 209 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create() 215 TEST_ASSERT_VAL("faile in dsos__create() [all...] |
H A D | parse-metric.c | 213 TEST_ASSERT_VAL("failed to compute metric", in test_ipc() 216 TEST_ASSERT_VAL("IPC failed, wrong ratio", in test_ipc() 232 TEST_ASSERT_VAL("failed to compute metric", in test_frontend() 235 TEST_ASSERT_VAL("Frontend_Bound_SMT failed, wrong ratio", in test_frontend() 250 TEST_ASSERT_VAL("failed to compute metric", in test_cache_miss_cycles() 253 TEST_ASSERT_VAL("cache_miss_cycles failed, wrong ratio", in test_cache_miss_cycles() 293 TEST_ASSERT_VAL("failed to compute metric", in test_dcache_l2() 296 TEST_ASSERT_VAL("DCache_L2_Hits failed, wrong ratio", in test_dcache_l2() 299 TEST_ASSERT_VAL("failed to compute metric", in test_dcache_l2() 302 TEST_ASSERT_VAL("DCache_L2_Misse in test_dcache_l2() [all...] |
H A D | maps.c | 23 TEST_ASSERT_VAL("less maps expected", (map && i < size) || (!map && i == size)); in check_maps() 25 TEST_ASSERT_VAL("wrong map start", map->start == merged[i].start); in check_maps() 26 TEST_ASSERT_VAL("wrong map end", map->end == merged[i].end); in check_maps() 27 TEST_ASSERT_VAL("wrong map name", !strcmp(map->dso->name, merged[i].name)); in check_maps() 28 TEST_ASSERT_VAL("wrong map refcnt", refcount_read(&map->refcnt) == 1); in check_maps() 73 TEST_ASSERT_VAL("failed to create map", map); in test__maps__merge_in() 82 TEST_ASSERT_VAL("failed to create map", map_kcore1); in test__maps__merge_in() 85 TEST_ASSERT_VAL("failed to create map", map_kcore2); in test__maps__merge_in() 88 TEST_ASSERT_VAL("failed to create map", map_kcore3); in test__maps__merge_in() 103 TEST_ASSERT_VAL("faile in test__maps__merge_in() [all...] |
H A D | expr.c | 14 TEST_ASSERT_VAL("parse test failed", 0); in test() 15 TEST_ASSERT_VAL("unexpected value", val == val2); in test() 57 TEST_ASSERT_VAL("division by zero", ret == -1); in test__expr() 61 TEST_ASSERT_VAL("missing operand", ret == -1); in test__expr() 64 TEST_ASSERT_VAL("find other", in test__expr() 67 TEST_ASSERT_VAL("find other", hashmap__size(&ctx.ids) == 3); in test__expr() 68 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAR", in test__expr() 70 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAZ", in test__expr() 72 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BOZO", in test__expr() 76 TEST_ASSERT_VAL("fin in test__expr() [all...] |
H A D | hists_output.c | 168 TEST_ASSERT_VAL("Invalid hist entry", in test1() 174 TEST_ASSERT_VAL("Invalid hist entry", in test1() 180 TEST_ASSERT_VAL("Invalid hist entry", in test1() 186 TEST_ASSERT_VAL("Invalid hist entry", in test1() 192 TEST_ASSERT_VAL("Invalid hist entry", in test1() 198 TEST_ASSERT_VAL("Invalid hist entry", in test1() 204 TEST_ASSERT_VAL("Invalid hist entry", in test1() 210 TEST_ASSERT_VAL("Invalid hist entry", in test1() 216 TEST_ASSERT_VAL("Invalid hist entry", in test1() 268 TEST_ASSERT_VAL("Invali in test2() [all...] |
H A D | pe-file-parsing.c | 40 TEST_ASSERT_VAL("Failed to read build_id", in run_dir() 42 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id, in run_dir() 46 TEST_ASSERT_VAL("Failed to read debuglink", ret == 0); in run_dir() 47 TEST_ASSERT_VAL("Wrong debuglink", in run_dir() 52 TEST_ASSERT_VAL("Failed to read debug file build_id", in run_dir() 54 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id, in run_dir() 58 TEST_ASSERT_VAL("Failed to get dso", dso); in run_dir() 61 TEST_ASSERT_VAL("Failed to load symbols", ret == 0); in run_dir() 65 TEST_ASSERT_VAL("Failed to find main", sym); in run_dir()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 29 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__hybrid_hw_event_with_pmu() 30 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_event_with_pmu() 31 TEST_ASSERT_VAL("wrong hybrid type", test_hybrid_type(evsel, PERF_TYPE_RAW)); in test__hybrid_hw_event_with_pmu() 32 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_event_with_pmu() 41 TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); in test__hybrid_hw_group_event() 42 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event() 43 TEST_ASSERT_VAL("wrong hybrid type", test_hybrid_type(evsel, PERF_TYPE_RAW)); in test__hybrid_hw_group_event() 44 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_group_event() 45 TEST_ASSERT_VAL("wrong leader", evsel__has_leader(evsel, leader)); in test__hybrid_hw_group_event() 48 TEST_ASSERT_VAL("wron in test__hybrid_hw_group_event() [all...] |