This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

available kernel images for streamline ?

Note: This was originally posted on 13th November 2012 at http://forums.arm.com

in order to simplify the setup process to use streamline profiler do you provide kernel images (with properly configured kernel and a filesystem that contains the kernel source/headers) for at least one of the off the shelf tablets (or phone)  ? (models from asus, motorola, samsung etc...)

thank you.
  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com

    Tablet kernel and file systems will need to come from the tablet vendor.

    Streamline ships the kernel "gator.ko" and daemon "gatord" components as source code, so you can recompile for whatever platform you are targeting.
  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com

    Have a look at http://www.arm.com/products/tools/software-tools/ds-5/supported-platforms.php, on the software platforms tab. ODROID and Thundersoft are on the list, that might be of interest to you.
  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com


    Tablet kernel and file systems will need to come from the tablet vendor.

    Streamline ships the kernel "gator.ko" and daemon "gatord" components as source code, so you can recompile for whatever platform you are targeting.


    thanks for your reply,

    tablet vendors have no interest in releasing their source code to developers, they sell hardware not software support, if it is a prerequisite for streamline it would be a good idea for arm to work on it for their DS5 users (vtune on windows for example asks nothing to their users).


    we did recompile gator.ko and gatord but after a streamline capture, the results of the analysis says the most of our app's cpu time is spent in [kernel] without any further details even tough i have CONFIG_DEBUG_INFO=y in /proc/config.gz. did i miss an option in streamline capture to have analysys information for the kernel ?

    regards.
  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com


    did i miss an option in streamline capture to have analysys information for the kernel ?


    Maybe.  Did you add the vmlinux file as an image in the list of images?  If you double-click on the capture you will get a chance to add new images and generate a new report.
  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com


    Maybe.  Did you add the vmlinux file as an image in the list of images?  If you double-click on the capture you will get a chance to add new images and generate a new report.

    sorry to ask a dumb question but how do i extract this vmlinux file from my kernel ?

  • Note: This was originally posted on 13th November 2012 at http://forums.arm.com


    how do i extract this vmlinux file from my kernel ?


    [I like answering the easy questions, because I often get them right.]

    Usually the kernel image on the target is zImage (or uImage if you're using U-Boot).  It does not contain debug info.  It gets built in .../arch/arm/boot

    The 'vmlinux' gets built at the same time (or just before) as .../vmlinux and, if you have CONFIG_DEBUG_INFO=y, it does have debug info.
  • Note: This was originally posted on 14th November 2012 at http://forums.arm.com


      It gets built in .../arch/arm/boot


    so no hope to get kernel symbols in streamline if i have not rebuilt my own kernel ?

    on nexus7 symbols are in the stock kernel, traceview gets them without any problem, but streamline misses them ?

    is strealine buggy or is it just  too complicated to use ?

    thanks for your reply anyway.


  • Note: This was originally posted on 15th November 2012 at http://forums.arm.com


    so no hope to get kernel symbols in streamline if i have not rebuilt my own kernel ?


    Sorry, Streamline needs to have the vmlinux; and if you want to see sources, you need the sources.

    I suspect they are using /proc/kallsyms which would allow visibility of some names but does not have nearly as much information as vmlinux.  Still it might be useful.

    [Edit:  it seems /dev/ksyms is obsolete/non-Linux so I guess I meant /proc/kallsyms.]