Home
last modified time | relevance | path

Searched refs:test_config (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace.c184 struct test_config { struct
198 void (*modify_values)(pid_t child, struct test_config *test_config);
1083 static void fpsimd_write(pid_t child, struct test_config *test_config) in fpsimd_write() argument
1485 struct test_config test_config; in run_sve_tests() local
1504 &test_config); in run_sve_tests()
1508 &test_config); in run_sve_tests()
1516 struct test_config test_config; in run_sme_tests() local
1540 &test_config); in run_sme_tests()
1543 &test_config); in run_sme_tests()
1559 struct test_config test_config; in main() local
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/hw/
H A Dnic_performance.py63 def check_throughput(cfg: object, link_config: LinkConfig, test_config: TestConfig, protocol: str, …
67 duration = test_config.test_duration
77 time.sleep(test_config.time_delay)
108 send_threshold = float(speeds[idx]) * float(test_config.send_throughput_threshold / 100)
109 … receive_threshold = float(speeds[idx]) * float(test_config.receive_throughput_threshold / 100)
113 def test_tcp_throughput(cfg: object, link_config: LinkConfig, test_config: TestConfig, traffic: Gen…
115 check_throughput(cfg, link_config, test_config, 'TCP', traffic)
117 def test_udp_throughput(cfg: object, link_config: LinkConfig, test_config: TestConfig, traffic: Gen…
119 check_throughput(cfg, link_config, test_config, 'UDP', traffic)
128 test_config = TestConfig(args.time_delay, args.test_duration, args.stt, args.rtt)
[all …]
/linux-6.15/lib/
H A Dtest_kmod.c72 struct test_config { struct
124 struct test_config config;
175 struct test_config *config = &test_dev->config; in kmod_test_done_check()
191 struct test_config *config = &test_dev->config; in test_kmod_put_module()
214 struct test_config *config = &test_dev->config; in run_request()
245 struct test_config *config = &test_dev->config; in tally_work_test()
286 struct test_config *config = &test_dev->config; in tally_up_work()
345 struct test_config *config = &test_dev->config; in test_dev_kmod_stop_tests()
383 struct test_config *config = &test_dev->config; in try_requests()
420 struct test_config *config = &test_dev->config; in run_test_driver()
[all …]
H A Dtest_firmware.c100 struct test_config { struct
137 static struct test_config *test_fw_config; argument
1528 test_fw_config = kzalloc(sizeof(struct test_config), GFP_KERNEL); in test_firmware_init()
/linux-6.15/tools/perf/arch/x86/tests/
H A Dhybrid.c10 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config() function
32 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_event_with_pmu()
44 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_group_event()
50 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_INSTRUCTIONS)); in test__hybrid_hw_group_event()
67 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_sw_hw_group_event()
80 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_sw_group_event()
97 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_group_modifier1()
105 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_INSTRUCTIONS)); in test__hybrid_group_modifier1()
132 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0x1a)); in test__hybrid_raw2()
174 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_group_event_2()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_mod_race.c34 struct test_config { struct
90 static void test_bpf_mod_race_config(const struct test_config *config) in test_bpf_mod_race_config()
188 static const struct test_config ksym_config = {
194 static const struct test_config kfunc_config = {
H A Dselect_reuseport.c768 static void test_config(int sotype, sa_family_t family, bool inany) in test_config() function
839 test_config(c->sotype, c->family, c->inany); in test_all()
/linux-6.15/tools/perf/tests/
H A Dparse-events.c158 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_numeric()
245 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint()
259 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_x()
273 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_r()
288 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_w()
303 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_rw()
660 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_list()
676 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_pmu_name()
683 TEST_ASSERT_VAL("wrong config", test_config(evsel, 2)); in test__checkevent_pmu_name()
923 test_config(evsel, PERF_COUNT_SW_PAGE_FAULTS)); in test__group2()
[all …]