X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..bb59bff194111743b33cc36712410b5656329d3c:/bsd/man/man2/profil.2 diff --git a/bsd/man/man2/profil.2 b/bsd/man/man2/profil.2 index ee6d78602..40ee9a463 100644 --- a/bsd/man/man2/profil.2 +++ b/bsd/man/man2/profil.2 @@ -36,16 +36,26 @@ .\" .\" @(#)profil.2 8.1 (Berkeley) 6/4/93 .\" -.Dd June 4, 1993 +.Dd September 26, 2008 .Dt PROFIL 2 .Os .Sh NAME .Nm profil .Nd control process profiling +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS +.In unistd.h .Ft int .Fn profil "char *samples" "size_t size" "u_long offset" "u_int scale" .Sh DESCRIPTION +.Pp +.Fd -- This function is now deprecated. It will always return EINVAL. -- +.Pp +The intended replacements are the user-level developer tools, like CHUD and dtrace. +.Pp +------ +.Pp The .Fn profil function enables or disables @@ -117,8 +127,11 @@ contains an invalid address. .El .Sh SEE ALSO .Xr gprof 1 -.\" .Sh HISTORY -.\" wish I knew... probably v7. +.Sh HISTORY +The +.Fn profil +function appeared in +.At v7 . .Sh BUGS This routine should be named .Fn profile .