Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.gitignore | D | 03-May-2024 | 11 | 2 | 1 | |
Makefile | D | 03-May-2024 | 915 | 24 | 3 | |
README.1ST | D | 03-May-2024 | 1.4 KiB | 39 | 27 | |
epoll-ltp.c | D | 03-May-2024 | 22.4 KiB | 740 | 466 |
README.1ST
1Epoll Setup 2 3 4 ** Directions for glibc version of 2.3.2 or higher ** 5 6Epoll support is currently implemented in glibc 2.3.2, therefore if you have a$ 7glibc version of 2.3.2 or higher then do the following steps: 8 91. Download and untar the epoll library from: 10 http://www.xmailserver.org/linux-patches/epoll-lib-0.11.tar.gz 112. Copy <epoll-lib_directory>/include/epoll.h /usr/include 123. Compile epoll-ltp.c in the <ltp_dir>testcases/kernel/syscall/epoll 13 14 15 16 ** Older version of glibc ** 17To compile the epoll-ltp successfully the following libraries are needed: 18 19Epoll library http://www.xmailserver.org/linux-patches/epoll-lib-0.11.tar.gz 20Portable Coroutine Library (PCL) http://www.xmailserver.org/libpcl.html 21 22 231. Download and untar the PCL library 242. Run ./configure 253. Run make 264. Run make install 275. Copy <libpcl_directory>/pcl/.libs/libpcl.* /lib 286. Download and untar the epoll library 297. *You may have to modify the makefile in <epoll-lib_directory>/Makefile and <epoll-lib_directory>/examples/Makefile with the following 30- KERNELDIR = kernel_directory 31- #all: .depend $(TARGET) epoll-example change this line to$ 32- all: .$(TARGET) epoll-example 33- #include .depend comment out this line 348. Copy <epoll-lib_directory>/include/epoll.h /usr/include 359. <epoll-lib_directory> make 3610. Copy <epoll-lib_directory>/lib/libepoll* /lib 3711. Compile epoll-ltp.c in the <ltp_dir>testcases/kernel/syscall/epoll 38 39