Lines Matching refs:TH_LOG
108 TH_LOG(fmt, ##__VA_ARGS__); \
123 TH_LOG("Cannot write to uhid: %m"); in uhid_write()
126 TH_LOG("Wrong size written to uhid: %zd != %zu", in uhid_write()
225 TH_LOG("Invalid event from uhid-dev: %u", ev.type); in uhid_event()
251 TH_LOG("Cannot poll for fds: %m"); in uhid_read_events_thread()
275 TH_LOG("Could not start the uhid thread: %d", err); in uhid_start_listener()
309 ASSERT_GE(fd, 0) TH_LOG("open uhid-cdev failed; %d", fd); in setup_uhid()
313 TH_LOG("create uhid device failed: %d", ret); in setup_uhid()
475 TH_LOG(fmt, ##__VA_ARGS__); \
524 TH_LOG("too many programs are to be loaded"); in load_programs()
535 ASSERT_OK_PTR(prog) TH_LOG("can not find program by name '%s'", programs[i].name); in load_programs()
541 ASSERT_OK(err) TH_LOG("hid_skel_load failed: %d", err); in load_programs()
544 ASSERT_GE(attach_fd, 0) TH_LOG("locate attach_prog: %d", attach_fd); in load_programs()
551 ASSERT_OK_PTR(prog) TH_LOG("can not find program by name '%s'", programs[i].name); in load_programs()
558 TH_LOG("attach_hid(%s): %d", programs[i].name, args.retval); in load_programs()
564 ASSERT_GE(self->hidraw_fd, 0) TH_LOG("open_hidraw"); in load_programs()
592 ASSERT_EQ(self->skel->data->callback_check, 52) TH_LOG("callback_check1"); in TEST_F()
593 ASSERT_EQ(self->skel->data->callback2_check, 52) TH_LOG("callback2_check1"); in TEST_F()
601 ASSERT_EQ(self->skel->data->callback_check, 42) TH_LOG("callback_check1"); in TEST_F()
606 ASSERT_EQ(err, 6) TH_LOG("read_hidraw"); in TEST_F()
617 ASSERT_EQ(self->skel->data->callback_check, 47) TH_LOG("callback_check1"); in TEST_F()
622 ASSERT_EQ(err, 6) TH_LOG("read_hidraw"); in TEST_F()
641 ASSERT_GT(link, 0) TH_LOG("HID-BPF link not created"); in TEST_F()
651 ASSERT_EQ(err, 6) TH_LOG("read_hidraw"); in TEST_F()
661 ASSERT_OK(err) TH_LOG("error while calling bpf_obj_pin"); in TEST_F()
670 ASSERT_GE(self->hidraw_fd, 0) TH_LOG("open_hidraw"); in TEST_F()
681 ASSERT_EQ(err, 6) TH_LOG("read_hidraw_no_bpf"); in TEST_F()
700 ASSERT_EQ(err, 6) TH_LOG("read_hidraw"); in TEST_F()
730 ASSERT_EQ(err, 9) TH_LOG("read_hidraw"); in TEST_F()
733 ASSERT_EQ(buf[2], 0) TH_LOG("leftovers_from_previous_test"); in TEST_F()
763 ASSERT_OK(err) TH_LOG("error while calling bpf_prog_test_run_opts"); in TEST_F()
804 ASSERT_EQ(err, 6) TH_LOG("read_hidraw"); in TEST_F()
830 ASSERT_GE(err, 0) TH_LOG("error while reading HIDIOCGRDESCSIZE: %d", err); in TEST_F()
837 ASSERT_GE(err, 0) TH_LOG("error while reading HIDIOCGRDESC: %d", err); in TEST_F()