profil cannot be used on a program that also uses ITIMER_PROF itimers.
True kernel profiling provides more accurate results. Libc 4.4 contained a kernel patch providing a system call profil.
Similar to a call in SVr4 (but not POSIX.1).
gprof(1), setitimer(2), signal(2), sigaction(2)