profil(3) Library Functions Manual profil(3) profil - (libc -lc) #include int profil(unsigned short *buf, size_t bufsiz, size_t offset, unsigned int scale); glibc ( feature_test_macros(7)): profil(): glibc 2.21: _DEFAULT_SOURCE glibc 2.19 2.20: _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) glibc 2.19 : _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) . buf bufsiz . 10 (PC) : offset scale 65536. bufsiz buf. buf (NULL) . . attributes(7). +----------------------+------------------------------------+--------------------------------------------------------------------+ | | | | +----------------------+------------------------------------+--------------------------------------------------------------------+ |profil() | | (MT-Unsafe) | +----------------------+------------------------------------+--------------------------------------------------------------------+ . SVr4. profil() ITIMER_PROF ( setitimer(2)). . gprof(1), sprof(1), setitimer(2), sigaction(2), signal(2) 3 . . : . 6.18 8 2026 profil(3)