(__monstartup): Use calloc instead of malloc+memset.
authordrepper <drepper>
Sun, 10 Aug 1997 17:01:02 +0000 (17:01 +0000)
committerdrepper <drepper>
Sun, 10 Aug 1997 17:01:02 +0000 (17:01 +0000)
commitc18fe076b5b3c502f5affa516b12b63302dab7b1
tree1bf74fd173b46fd639234e71b0140f715dd88a7a
parent86e5022862849b7a756cfb043aa51a2fc68976fb
(__monstartup): Use calloc instead of malloc+memset.
(write_gmon): New function; guts from _mcleanup.
(_mcleanup): Use write_gmon.
(write_profiling): This function can be safely called at any time to
write a current histogram without interfering with ongoing profiling.
gmon/gmon.c