On Tue, Jan 01, 2002 at 03:15:45PM +0100, Niels Möller wrote: > I think the writing of profiling information on process exit is > supposed accumulate information if you're running more than one > instance of the profiled program.
There was only one istance of the profile-enable ext2 translator. The problem is the same using gcc 2.95 and gcc-3.0. I think that probably for some reason after sending the reply to fsys_goway the task is forced to die. Normally this is not a problem, because the translator close all activities before replying, but the _mcleanup() is called only when exit() is invoked, after the reply. For this reason I call _mcleanup() before reply, and rename the file to avoid that a gmon.out to be overwritten when _mcleanup() is called a second time from inside exit(). For some misterius reason sleep helps also... Thank you. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd