Home
last modified time | relevance | path

Searched refs:expected_events (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c65 struct event_cnt expected_events; member
632 TEST_ASSERT_EQ(test->expected_events.uffd_faults, events.uffd_faults); in check_event_counts()
633 TEST_ASSERT_EQ(test->expected_events.mmio_exits, events.mmio_exits); in check_event_counts()
634 TEST_ASSERT_EQ(test->expected_events.fail_vcpu_runs, events.fail_vcpu_runs); in check_event_counts()
783 .expected_events = { 0 }, \
797 .expected_events = { .uffd_faults = _uffd_faults, }, \
809 .expected_events = { 0 }, \
825 .expected_events = { .uffd_faults = _uffd_faults, }, \
836 .expected_events = { .mmio_exits = _mmio_exits }, \
847 .expected_events = { .fail_vcpu_runs = 1 }, \
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py173 def assertInputEventsIn(self, expected_events, effective_events): argument
175 for ev in expected_events:
180 def assertInputEvents(self, expected_events, effective_events): argument
181 remaining = self.assertInputEventsIn(expected_events, effective_events)
H A Dtest_wacom_generic.py486 self, report, expected_events, auto_syn=True, strict=False argument
494 expected_events.append(syn_event)
498 self.assertInputEvents(expected_events, actual_events)
500 self.assertInputEventsIn(expected_events, actual_events)
H A Dtest_mouse.py967 def assertInputEvents(self, expected_events, effective_events): argument
970 remaining = self.assertInputEventsIn(expected_events, effective_events)
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtcpbpf_user.c13 __u32 expected_events = ((1 << BPF_SOCK_OPS_TIMEOUT_INIT) | in verify_result() local
23 ASSERT_EQ(expected_events, result->event_map, "event_map"); in verify_result()
/linux/tools/perf/tests/
H A Dpmu-events.c491 int map_events = 0, expected_events, err; in test__pmu_event_table() local
494 expected_events = ARRAY_SIZE(core_events) + in test__pmu_event_table()
513 if (map_events != expected_events) { in test__pmu_event_table()
515 map_events, expected_events); in test__pmu_event_table()