/linux/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("wrong sample_period", in test__checkevent_tracepoint_multi() [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() 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 …]
|
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("wrong type", data->type == PERF_CPU_MAP__CPUS); 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("wrong id", ev->id == 123); in process_event_cpus() [all …]
|
H A D | thread-map.c | 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() 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 …]
|
H A D | thread-maps-share.c | 46 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() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3); in test__thread_maps_share() 83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2); in test__thread_maps_share() 86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1); in test__thread_maps_share() 92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 1); in test__thread_maps_share()
|
H A D | parse-metric.c | 149 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()
|
H A D | bp_signal.c | 235 * the wrong RF EFLAG management in test__bp_signal() 238 * to the wrong RF EFLAG management in test__bp_signal() 275 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal() 279 pr_debug("failed: wrong overflow (%d) hit, expected 3\n", overflows); in test__bp_signal() 282 pr_debug("failed: wrong overflow_2 (%d) hit, expected 3\n", overflows_2); in test__bp_signal() 285 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal() 288 pr_debug("failed: wrong count for bp3 (%lld), expected 2\n", count3); in test__bp_signal()
|
/linux/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("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event() [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 122 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 …]
|
H A D | psample.sh | 75 check_err $? "Sampled packets reported with wrong group number" 106 check_err $? "Sampled packets reported with wrong in-ifindex" 109 check_err $? "Sampled packets reported with wrong out-ifindex" 115 check_err $? "Sampled packets reported with wrong out-tc"
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower.sh | 53 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 …]
|
H A D | bridge_vlan_mcast.sh | 139 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 …]
|
H A D | tc_flower_cfm.sh | 74 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"
|
/linux/tools/testing/selftests/capabilities/ |
H A D | validate_cap.c | 23 ksft_exit_fail_msg("wrong argv[%d]\n", i); in bool_arg() 39 ksft_exit_fail_msg("wrong argc\n"); in main() 55 ksft_print_msg("Wrong effective state%s\n", atsec); in main() 60 ksft_print_msg("Wrong permitted state%s\n", atsec); in main() 65 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main() 70 ksft_print_msg("Wrong ambient state%s\n", atsec); in main()
|
/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 70 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()
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | connect-deny.c | 118 try_accept("Wrong password", port++, "something that is not DEFAULT_TEST_PASSWORD", in server_fn() 122 try_accept("Wrong rcv id", port++, DEFAULT_TEST_PASSWORD, in server_fn() 126 try_accept("Wrong snd id", port++, DEFAULT_TEST_PASSWORD, in server_fn() 134 try_accept("Server: Wrong addr", port++, DEFAULT_TEST_PASSWORD, in server_fn() 138 try_accept("Client: Wrong addr", port++, NULL, in server_fn() 236 try_connect("Wrong password", port++, DEFAULT_TEST_PASSWORD, in client_fn() 241 try_connect("Wrong rcv id", port++, DEFAULT_TEST_PASSWORD, in client_fn() 246 try_connect("Wrong snd id", port++, DEFAULT_TEST_PASSWORD, in client_fn() 256 try_connect("Server: Wrong addr", port++, DEFAULT_TEST_PASSWORD, in client_fn() 259 try_connect("Client: Wrong addr", port++, DEFAULT_TEST_PASSWORD, in client_fn()
|
H A D | restore.c | 97 try_server_run("TCP-AO with wrong send ISN", port++, in server_fn() 99 try_server_run("TCP-AO with wrong receive ISN", port++, in server_fn() 101 try_server_run("TCP-AO with wrong send SEQ ext number", port++, in server_fn() 103 try_server_run("TCP-AO with wrong receive SEQ ext number", port++, in server_fn() 215 test_sk_restore("TCP-AO with wrong send ISN", port++, in client_fn() 224 test_sk_restore("TCP-AO with wrong receive ISN", port++, in client_fn() 232 test_sk_restore("TCP-AO with wrong send SEQ ext number", port++, in client_fn() 241 test_sk_restore("TCP-AO with wrong receive SEQ ext number", port++, in client_fn()
|
/linux/tools/perf/tests/shell/ |
H A D | daemon.sh | 26 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 …]
|
/linux/Documentation/driver-api/mei/ |
H A D | mei.rst | 106 ENOTTY No such client (i.e. wrong GUID) or connection is not allowed. 107 EINVAL Wrong IOCTL Number 143 ENOTTY No such client (i.e. wrong GUID) or connection is not allowed. 144 EINVAL Wrong IOCTL Number or tag == 0 172 EINVAL Wrong IOCTL Number 197 EINVAL Wrong IOCTL Number
|
/linux/Documentation/process/ |
H A D | management-style.rst | 51 Namely that you are in the wrong job, and that **they** should be managing 62 can be made small by just always making sure that if you were wrong (and 63 you **will** be wrong), you can always undo the damage later by 65 **two** inconsequential decisions - the wrong one **and** the right one. 91 wrong is sometimes very hard indeed. 103 might be the wrong thing. You should always reserve the right to change 130 something wrong with both projects, and the reason the people involved 131 couldn't decide was that they were both wrong. You end up coming up 219 Things will go wrong, and people want somebody to blame. Tag, you're it. 252 somebody else puts on airs, it **really** rubs us the wrong way. You may
|
/linux/tools/testing/selftests/x86/ |
H A D | test_FISTTP.c | 41 printf("[BAD]\tfisttp 1: wrong exception state\n"); in test() 61 printf("[BAD]\tfisttp pi: wrong exception state\n"); in test() 84 printf("[BAD]\tfisttp -pi: wrong exception state\n"); in test() 105 printf("[BAD]\tfisttp ln2: wrong exception state\n"); in test()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sock_addr.c | 558 "bind4: load prog with wrong expected attach type", 574 "bind4: attach prog with wrong attach type", 654 "bind6: load prog with wrong expected attach type", 670 "bind6: attach prog with wrong attach type", 882 "connect4: load prog with wrong expected attach type", 898 "connect4: attach prog with wrong attach type", 978 "connect6: load prog with wrong expected attach type", 994 "connect6: attach prog with wrong attach type", 1042 "connect_unix: attach prog with wrong attach type", 1254 "sendmsg4: load prog with wrong expected attach type", [all …]
|
/linux/Documentation/networking/ |
H A D | xfrm_proc.rst | 33 i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong 37 e.g. SA key is wrong 58 e.g. Inbound SAs are correct but SP rule is wrong
|
/linux/tools/testing/selftests/ipc/ |
H A D | msgque.c | 60 printf("Restored queue has wrong id (%d instead of %d)\n", in restore_queue() 98 printf("Wrong message size: %d (expected %d)\n", ret, in check_and_destroy_queue() 104 printf("Wrong message type\n"); in check_and_destroy_queue() 109 printf("Wrong message content\n"); in check_and_destroy_queue() 117 printf("Wrong message number\n"); in check_and_destroy_queue()
|