Home
last modified time | relevance | path

Searched refs:tp_fd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_writable_reject_nbd_invalid.c10 int bpf_fd = -1, tp_fd = -1; in test_raw_tp_writable_reject_nbd_invalid() local
34 tp_fd = bpf_raw_tracepoint_open("nbd_send_request", bpf_fd); in test_raw_tp_writable_reject_nbd_invalid()
35 if (CHECK(tp_fd >= 0, "bpf_raw_tracepoint_writable open", in test_raw_tp_writable_reject_nbd_invalid()
39 close(tp_fd); in test_raw_tp_writable_reject_nbd_invalid()
H A Draw_tp_writable_test_run.c50 int tp_fd = bpf_raw_tracepoint_open("bpf_test_finish", bpf_fd); in serial_test_raw_tp_writable_test_run() local
51 if (CHECK(tp_fd < 0, "bpf_raw_tracepoint_writable opened", in serial_test_raw_tp_writable_test_run()
52 "failed: %d errno %d\n", tp_fd, errno)) in serial_test_raw_tp_writable_test_run()
70 close(tp_fd); in serial_test_raw_tp_writable_test_run()