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

DS-5 Gator Module Customization

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

Hello,
I have the default DS-5 and Streamline setup working fine using a Pandaboard. I have the gator.ko 5.7 source code and I'm trying to add some new traces to gator.ko. Using the mmaped exemple, I'm returning always the same 'int' value=300 from my function which I trace through a "printk" too. The printk shows the value is good and always equal to 300. However, going to the DS-5 Eclipse IDE, the Streamline interface shows some strange values in the range of 145 to 427 when zooming to the 1ms on the graphical Timeline view. It looks like the values displayed are not constant but around my original 300 value. Can anyone explain how this should be working to display a constant value in the IDE?
Thanks a lot,
David.
Parents
  • Note: This was originally posted on 15th February 2012 at http://forums.arm.com

    Sorry for the late answer. I did test your suggestions and I faced the same issue as I previously saw with my changeset. I  think something is wrong with TI kernel or maybe with our kernel timers.

    Here is a snapshot of what I see with my setup (in the debug log, I always see "cpufreq=350"):


    And the source code I use: https://gitorious.or...-omap/arm-gator
    I  just added an event file in the daemon tree and a  gator_events_cpufreq.c file for my changes. It basically mimics what's  in mmaped.c file.

    Let me know if you have any suggestion.
Reply
  • Note: This was originally posted on 15th February 2012 at http://forums.arm.com

    Sorry for the late answer. I did test your suggestions and I faced the same issue as I previously saw with my changeset. I  think something is wrong with TI kernel or maybe with our kernel timers.

    Here is a snapshot of what I see with my setup (in the debug log, I always see "cpufreq=350"):


    And the source code I use: https://gitorious.or...-omap/arm-gator
    I  just added an event file in the daemon tree and a  gator_events_cpufreq.c file for my changes. It basically mimics what's  in mmaped.c file.

    Let me know if you have any suggestion.
Children
No data