Robert Bragg 8146d8d08d profile: avoid segfault generating reports with no stats
The clutter-profile.c print_report() code would crash if no stats had
been gathered because uprof would return NULL for the "Redrawing" timer
which we then dereferenced.

This changes the code to start by checking for the "Mainloop",
"Redrawing" and "Do Pick" timers and if none are present it returns
immediately without generating any report.
2010-03-01 15:25:45 +00:00
..
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2009-01-20 18:47:50 +00:00
2010-02-25 12:01:03 +00:00
2009-10-14 11:31:26 +01:00
2010-01-20 00:38:07 +00:00
2009-07-10 11:38:42 +01:00
2010-02-04 21:10:02 +00:00
2010-02-12 14:50:11 +00:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00