Re: Profiling applications (oprofile, others?)

2009-12-28 Thread Marius Gedminas
On Thu, Dec 03, 2009 at 10:45:43AM +0200, Alberto Mardegan wrote:
 Andrea Borgia wrote:
  Alberto Mardegan ha scritto:
  
 since fremantle's maemo-mapper is so horribly slow, I went and tried to 
  run 
  oprofile.
  
  AFAIK, it was very slow even on Diablo:
  https://bugs.maemo.org/show_bug.cgi?id=4452
 
 Believe me, it's even slower :-)
 About the map cache, I don't see much point of having it in a DB at all, I 
 would 
 just use the filesystem.

Very old versions of Maemo Mapper did exactly that.

Very old versions of Maemo Mapper felt faster to me than newer versions
did.

Hmmm.

 But I'll try to get all the developers of maps 
 application to agree on a common place/format to store downloaded maps, in 
 order 
 to share it.

That'd be nice.

Marius Gedminas
-- 
Get a life?  Well, once I nearly found one, but the link was broken.


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Profiling applications (oprofile, others?)

2009-12-24 Thread Felipe Contreras
On Thu, Dec 3, 2009 at 9:31 AM, Henrik Hedberg
henrik.hedb...@innologies.fi wrote:
 Alberto Mardegan wrote:

      since fremantle's maemo-mapper is so horribly slow, I went and
 tried to run
   oprofile.
   Unfortunately it seems to me that static functions never appear in
 the final
   report. Is this how it is supposed to work?

    Your binary may lack frame pointers. See [1].

That documentation is incorrect. Siarhei Siamashka wrote a hack in the
kernel so that recompiling with framepointers is not needed any more
:) Maybe you just need debug symbols.

-- 
Felipe Contreras
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Profiling applications (oprofile, others?)

2009-12-03 Thread Andrea Borgia
Alberto Mardegan ha scritto:

since fremantle's maemo-mapper is so horribly slow, I went and tried to 
 run 
 oprofile.

AFAIK, it was very slow even on Diablo:
https://bugs.maemo.org/show_bug.cgi?id=4452

A.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Profiling applications (oprofile, others?)

2009-12-03 Thread Alberto Mardegan
Andrea Borgia wrote:
 Alberto Mardegan ha scritto:
 
since fremantle's maemo-mapper is so horribly slow, I went and tried to 
 run 
 oprofile.
 
 AFAIK, it was very slow even on Diablo:
 https://bugs.maemo.org/show_bug.cgi?id=4452

Believe me, it's even slower :-)
About the map cache, I don't see much point of having it in a DB at all, I 
would 
just use the filesystem. But I'll try to get all the developers of maps 
application to agree on a common place/format to store downloaded maps, in 
order 
to share it.

Ciao,
   Alberto

-- 
http://www.mardy.it -- geek in un lingua international!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Profiling applications (oprofile, others?)

2009-12-02 Thread Alberto Mardegan
Hi all,
   since fremantle's maemo-mapper is so horribly slow, I went and tried to run 
oprofile.
Unfortunately it seems to me that static functions never appear in the final 
report. Is this how it is supposed to work?

What other profiling tools can you recommend?

TIA,
   Alberto

-- 
http://www.mardy.it -- geek in un lingua international!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Profiling applications (oprofile, others?)

2009-12-02 Thread Henrik Hedberg
Alberto Mardegan wrote:

 since fremantle's maemo-mapper is so horribly slow, I went and 
tried to run
  oprofile.
  Unfortunately it seems to me that static functions never appear in 
the final
  report. Is this how it is supposed to work?

Your binary may lack frame pointers. See [1].

BR,

Henrik

[1] 
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Debugging_Guide#Debugging_Issues_on_ARM_Architecture

-- 
Henrik Hedberg  -  http://www.henrikhedberg.net/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers