Home
last modified time | relevance | path

Searched full:wrong (Results 1 – 25 of 3771) sorted by relevance

12345678910>>...151

/kernel/linux/linux-5.10/tools/perf/tests/
Dparse-events.c51 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("wrong sample_period", in test__checkevent_tracepoint_multi()
[all …]
Dstat.c35 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()
71 TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); in process_stat_event()
72 TEST_ASSERT_VAL("wrong thread", st->thread == 2); in process_stat_event()
73 TEST_ASSERT_VAL("wrong id", st->id == 3); in process_stat_event()
[all …]
Devent_update.c22 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("wrong id", ev->id == 123); in process_event_cpus()
[all …]
Dthread-map.c35 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()
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("wrong comm", in test__thread_map()
56 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map()
70 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in process_event()
71 TEST_ASSERT_VAL("wrong pid", map->entries[0].pid == (u64) getpid()); in process_event()
[all …]
Dcpumap.c27 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("wrong nr", map->nr == 2); in process_event_cpus()
[all …]
Dthread-maps-share.c46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 4); in test__thread_maps_share()
74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 2); in test__thread_maps_share()
80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 3); in test__thread_maps_share()
83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 2); in test__thread_maps_share()
86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 1); in test__thread_maps_share()
92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 1); in test__thread_maps_share()
/kernel/linux/linux-6.6/tools/perf/tests/
Dparse-events.c89 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("wrong sample_period", in test__checkevent_tracepoint_multi()
[all …]
Dstat.c35 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()
72 TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); in process_stat_event()
73 TEST_ASSERT_VAL("wrong thread", st->thread == 2); in process_stat_event()
74 TEST_ASSERT_VAL("wrong id", st->id == 3); in process_stat_event()
[all …]
Devent_update.c22 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("wrong id", ev->id == 123); in process_event_cpus()
[all …]
Dcpumap.c26 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("wrong type", data->type == PERF_CPU_MAP__CPUS); in process_event_cpus()
[all …]
Dthread-map.c36 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()
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("wrong comm", in test__thread_map()
57 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map()
71 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in process_event()
72 TEST_ASSERT_VAL("wrong pid", map->entries[0].pid == (u64) getpid()); in process_event()
[all …]
Dthread-maps-share.c46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4); in test__thread_maps_share()
74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 2); in test__thread_maps_share()
81 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3); in test__thread_maps_share()
84 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2); in test__thread_maps_share()
87 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1); in test__thread_maps_share()
93 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 1); in test__thread_maps_share()
Dparse-metric.c149 TEST_ASSERT_VAL("IPC failed, wrong ratio", in test_ipc()
168 TEST_ASSERT_VAL("Frontend_Bound_SMT failed, wrong ratio", in test_frontend()
186 TEST_ASSERT_VAL("cache_miss_cycles failed, wrong ratio", in test_cache_miss_cycles()
229 TEST_ASSERT_VAL("DCache_L2_Hits failed, wrong ratio", in test_dcache_l2()
235 TEST_ASSERT_VAL("DCache_L2_Misses failed, wrong ratio", in test_dcache_l2()
268 TEST_ASSERT_VAL("L1D_Cache_Fill_BW, wrong ratio", in test_memory_bandwidth()
290 TEST_ASSERT_VAL("group IPC failed, wrong ratio", in test_metric_group()
293 TEST_ASSERT_VAL("group cache_miss_cycles failed, wrong ratio", in test_metric_group()
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/
Dhybrid.c29 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("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
Dnexthop.sh122 check_err $? "Wrong nexthop occupancy"
126 check_err $? "Wrong nexthop occupancy after delete"
143 check_err $? "Wrong nexthop occupancy"
163 check_err $? "Wrong nexthop occupancy"
167 check_err $? "Wrong nexthop occupancy after delete"
174 check_err $? "Wrong weighted nexthop occupancy"
178 check_err $? "Wrong nexthop occupancy after delete"
198 check_err $? "Wrong nexthop occupancy"
218 check_err $? "Wrong nexthop buckets count"
220 check_err $? "Wrong nexthop buckets count"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dtc_flower.sh53 check_fail $? "Matched on a wrong filter"
79 check_fail $? "Matched on a wrong filter"
105 check_fail $? "Matched on a wrong filter"
139 check_fail $? "Matched on a wrong filter"
175 check_fail $? "Matched on wrong frag filter (nofrag)"
178 check_fail $? "Matched on wrong firstfrag filter (nofrag)"
196 check_err $? "Matched on wrong nofirstfrag filter (1stfrag)"
199 check_err $? "Match on wrong nofrag filter (1stfrag)"
210 check_err $? "Matched on wrong firstfrag filter (no1stfrag)"
296 check_fail $? "Matched on a wrong filter (0x18)"
[all …]
Dbridge_vlan_mcast.sh139 check_err $? "Wrong default mcast_snooping global option value"
230 check_err $? "Wrong default mcast_querier global vlan option value"
260 check_err $? "Wrong default mcast_igmp_version global vlan option value"
266 check_err $? "Wrong default mcast_mld_version global vlan option value"
304 check_err $? "Wrong default mcast_last_member_count global vlan option value"
311 check_err $? "Wrong default mcast_last_member_interval global vlan option value"
338 check_err $? "Wrong default mcast_startup_query_interval global vlan option value"
345 check_err $? "Wrong default mcast_startup_query_count global vlan option value"
352 check_err $? "Wrong number of tagged IGMPv2 general queries sent"
359 check_err $? "Wrong number of tagged IGMPv2 general queries sent"
[all …]
Dtc_flower_cfm.sh74 check_err $? "Matched on the wrong opcode"
80 check_err $? "Matched on the wrong opcode"
114 check_err $? "Matched on the wrong level"
123 check_err $? "Matched on the wrong level"
129 check_err $? "Matched on the wrong level"
159 check_err $? "Matched on the wrong level and opcode"
165 check_err $? "Matched on the wrong level and opcode"
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/
Dvalidate_cap.c31 ksft_exit_fail_msg("wrong argv[%d]\n", i); in bool_arg()
46 ksft_exit_fail_msg("wrong argc\n"); in main()
58 ksft_print_msg("Wrong effective state%s\n", atsec); in main()
63 ksft_print_msg("Wrong permitted state%s\n", atsec); in main()
68 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main()
73 ksft_print_msg("Wrong ambient state%s\n", atsec); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
Dvalidate_cap.c31 ksft_exit_fail_msg("wrong argv[%d]\n", i); in bool_arg()
46 ksft_exit_fail_msg("wrong argc\n"); in main()
58 ksft_print_msg("Wrong effective state%s\n", atsec); in main()
63 ksft_print_msg("Wrong permitted state%s\n", atsec); in main()
68 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main()
73 ksft_print_msg("Wrong ambient state%s\n", atsec); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
Dbridge_vlan_mcast.sh139 check_err $? "Wrong default mcast_snooping global option value"
230 check_err $? "Wrong default mcast_querier global vlan option value"
260 check_err $? "Wrong default mcast_igmp_version global vlan option value"
266 check_err $? "Wrong default mcast_mld_version global vlan option value"
304 check_err $? "Wrong default mcast_last_member_count global vlan option value"
311 check_err $? "Wrong default mcast_last_member_interval global vlan option value"
338 check_err $? "Wrong default mcast_startup_query_interval global vlan option value"
345 check_err $? "Wrong default mcast_startup_query_count global vlan option value"
352 check_err $? "Wrong number of tagged IGMPv2 general queries sent"
359 check_err $? "Wrong number of tagged IGMPv2 general queries sent"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dtc_flower.sh50 check_fail $? "Matched on a wrong filter"
76 check_fail $? "Matched on a wrong filter"
102 check_fail $? "Matched on a wrong filter"
136 check_fail $? "Matched on a wrong filter"
172 check_fail $? "Matched on wrong frag filter (nofrag)"
175 check_fail $? "Matched on wrong firstfrag filter (nofrag)"
193 check_err $? "Matched on wrong nofirstfrag filter (1stfrag)"
196 check_err $? "Match on wrong nofrag filter (1stfrag)"
207 check_err $? "Matched on wrong firstfrag filter (no1stfrag)"
293 check_fail $? "Matched on a wrong filter (0x18)"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/fchmodat2/
Dfchmodat2_test.c70 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_regfile()
80 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2 with nofollow\n", in test_regfile()
98 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_symlink()
102 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2\n", in test_symlink()
115 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2 with nofollow\n", in test_symlink()
119 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2 with nofollow\n", in test_symlink()
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Ddaemon.sh26 echo "FAILED: wrong name"
31 echo "FAILED: wrong base"
36 echo "FAILED: wrong output"
41 echo "FAILED: wrong lock"
46 echo "FAILED: wrong up"
78 echo "FAILED: wrong name"
83 echo "FAILED: wrong run"
88 echo "FAILED: wrong base"
93 echo "FAILED: wrong output"
98 echo "FAILED: wrong control"
[all …]
/kernel/linux/common_modules/code_sign/
Dcode_sign_ext.c31 …code_sign_log_error("Wrong offset: %llu (pgtypeinfo_off) > %llu (data_size) - %u (pgtypeinfo_size)… in check_code_sign_descriptor()
37 code_sign_log_error("Wrong data_size: %llu (desc) > %lld (inode)", in check_code_sign_descriptor()
50 "Wrong tree_offset: %llu (desc) > %lld (file size) or alignment is wrong", in check_code_sign_descriptor()
57 "Wrong tree_offset without tree: %llu (desc) != 0", in check_code_sign_descriptor()

12345678910>>...151