fprof - crashing in profile() (was: performance issues)
Gaspar Chilingarov
nm@REDACTED
Mon May 23 20:20:36 CEST 2005
Vladimir Sekissov wrote:
> Good day,
>
> nm> For the same set of input data i got 5-10 times slower performance, what can
> nm> be a problem and how should I profile this application ? profiler manual is a
> nm> little bit messy (for a newcomer :).
>
> Try _fprof_. It is very easy to use and has very understandable
> output.
>
> 1> fprof:trace(start).
>
> 2> start_my_app_here().
>
> 3> fprof:trace(stop).
> 4> fprof:profile().
> 5> fprof:analyse([]).
>
I got the following error, when tried to process trace file.
fprof:trace(start) and trace(stop) both return ok. There is enough space
on the hard drive to hold whole dump.
<0.41.0> is a pid of my manager process
..............
End of erroneous trace!
{error,{inconsistent_trace_data,fprof,
2055,
[<0.41.0>,
undefined,
{1116,870978,912617},
[[{suspend,{1116,870978,912617}}],
[{{gen_server,loop,6},{1116,870978,911532}},
{{gen_server,handle_msg,6},
{1116,870978,257240}},
{{gen_server,loop,6},{1116,870978,257169}},
{{gen_server,init_it,6},
{1116,870978,217601}},
{{gen,init_it2,7},{1116,870978,214418}},
{{gen,init_it,7},{1116,870978,214410}}],
[{{proc_lib,init_p,5},{1116,870978,214343}}]]]}}
Any ideas why can it crash?
--
Gaspar Chilingarov
System Administrator
t +37491 419763
w www.web.am
e nm@REDACTED
More information about the erlang-questions
mailing list