Re: Profile disappears when process ends
- From: Owen Taylor <otaylor redhat com>
- To: Harry Tily <hal sfc keio ac jp>
- Cc: memprof-list gnome org
- Subject: Re: Profile disappears when process ends
- Date: Sat, 20 Sep 2003 08:55:23 -0400
On Sat, 2003-09-20 at 00:33, Harry Tily wrote:
> Hi
>
> I'm trying to figure out how to use memprof (isn't there anyone on this
> list who can use it and has time to write a very brief manual?) I've
> managed to get my process running and generate its profile and leak
> information, but as soon as the process ends, all that data vanishes
> again. This only gives me a few seconds to look at the output and try to
> work out what's happening. How do I keep the information on screen?
With recent versions of glibc, the code in memprof to keep the child
from exiting stopped working. I haven't tracked the problem down ...
what you can do is simply put a sleep(3600) at the end of your
main routine.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]