Searched refs:comm_fd (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | raw_tp_test_run.c | 13 int comm_fd = -1, err, nr_online, i, prog_fd; in test_raw_tp_test_run() local 38 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_raw_tp_test_run() 39 if (CHECK(comm_fd < 0, "open /proc/self/comm", "err %d\n", errno)) in test_raw_tp_test_run() 42 err = write(comm_fd, buf, sizeof(buf)); in test_raw_tp_test_run() 93 close(comm_fd); in test_raw_tp_test_run()
|