Profiling

Discussion in 'General Discussions' started by Tramb, Sep 1, 2012.

  1. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Hello guys,


    what good profilers are available for the pandora?


    Something like Linux perf, CodeAnalyst, vTune.


    I'd like to avoid intrusive stuff like gprof if possible.


    Cheers,


    Bertrand
     
    Tags:
  2. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    perf and oprofile are working fine, you just might need to compile them from source, although Angstrom/debian binary packages may work too. I don't know much about CodeAnalyst and vTune, quick googling shows they are x86 specific.
     
  3. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Ok,thanks.


    I tried "opkg install oprofile" and "opkg install perf" as root without success, so I'll try to build these from source.


    (Yep CodeAnalyst and vTune are respectively AMD and Intel sampling profilers)
     
  4. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,173
    Oprofile is included by default inside Slackware.


    Also, i think perf must be build from kernel sources tools.
     
  5. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Dang I can't find the /tools directory where perf source are supposed to live in any branch of git://git.openpandora.org/pandora-kernel.git


    Can somebody enlighten me?
     
    Last edited by a moderator: Sep 1, 2012
  6. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,173
    Maybe you have to grab mainstream kernel sources ?
     
  7. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Yep, but does it make any sense? And will it work? :)
     
  8. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    It doesn't live in any branch (wasn't there for 2.6.27 kernel), use pandora-3.2 branch.
     
  9. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    My mistake, I was confused by gitweb.


    I'm trying pandora-3.2, thanks.
     
  10. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Ok, I have a perf binary from .next openembedded that works with Zaxxon too.


    If someone is interested, I could publish it but how?


    This command-line tool makes no sense as a PND, does it?
     
  11. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,745
    Location:
    France
    no need for a pnd for a dev tool ;)
     
  12. Tramb

    Tramb Still Fresh

    Joined:
    Oct 26, 2010
    Messages:
    19
    Location:
    Paris
    Sure, so here's a raw zip with the binary and 2 necessary .so :)

    perf.zip
     

    Attached Files:

  13. foxblock

    foxblock Asleep

    Joined:
    Jun 17, 2009
    Messages:
    1,365
    Location:
    Germany
    Thanks a lot for this, it's appreciated :)
     
  14. Farox

    Farox Certified Guru

    Joined:
    Jan 8, 2009
    Messages:
    2,023
    Location:
    Italy
    Thank's a lot for building and share...we need a repo for developers with possibility to share sources and lib builded for pandora and utility like this one.
     
  15. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,745
    Location:
    France
  16. Farox

    Farox Certified Guru

    Joined:
    Jan 8, 2009
    Messages:
    2,023
    Location:
    Italy
    yes... something like this... :) but with possibility to change frequently the packages, without take much time to ED to moderate.
     
  17. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Its really time to get a "files" section on the repo.


    MILKSHAAAKEEE!
     

Share This Page

Loading...