lookup_dcookie(2) System Calls Manual lookup_dcookie(2) lookup_dcookie - C (libc, -lc) #include /* SYS_* */ #include int syscall(size_t size; SYS_lookup_dcookie, uint64_t cookie, char buffer[size], size_t size); Note: glibc provides no wrapper for lookup_dcookie(), necessitating the use of syscall(2). , cookie. (cookie) , . . lookup_dcookie() . On success, lookup_dcookie() returns the length of the path string copied into the buffer. On error, -1 is returned, and errno is set to indicate the error. EFAULT . EINVAL / . ENAMETOOLONG . ENOMEM . EPERM CAP_SYS_ADMIN . ERANGE . Linux. Linux 2.5.43. ENAMETOOLONG Linux 2.5.70. lookup_dcookie() , oprofile(1). . << (deleted)>>, . oprofile(1) () Artyom Kunyov , Azamat Hackimov , Dmitry Bolkhovskikh , Katrin Kutepova , Konstantin Shvaykovskiy , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.17 8 2026 . lookup_dcookie(2)