PROF(2) PROF(2) NAME prof, _profdump - profile functions SYNOPSIS void prof(void (*fn)(void*), void *arg, int entries, int what) void _profdump(void) DESCRIPTION Prof profiles a single function and writes the profiling data to a file on return as specified in prof(1). The func- tion _profdump may be called to dump profile information before function exit, or when profiling whole program invo- cations, at any point before exit. SOURCE SEE ALSO prof(1). BUGS When mixing calls to prof and _profdump and whole-program profiling, it is easy to overwrite the fixed output file. Page 1 Plan 9 (printed 12/22/24)