Arm Community
Site
Search
User
Site
Search
User
Arm Developer
Documentation
Learning Paths
On-Demand Videos
Groups
Arm Ambassadors
Education Hub
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Automotive forum
Compilers and Libraries forum
Embedded and Microcontrollers forum
Internet of Things (IoT) forum
Keil forum
Laptops and Desktops forum
Mobile, Graphics, and Gaming forum
Morello forum
Operating Systems forum
Servers and Cloud Computing forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded and Microcontrollers blog
Internet of Things (IoT) blog
Laptops and Desktops blog
Mobile, Graphics, and Gaming blog
Operating Systems blog
Servers and Cloud Computing blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
DS-5 Gator Module Customization
Jump...
Cancel
Locked
Locked
Replies
8 replies
Subscribers
120 subscribers
Views
4358 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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
David Bercovitz
over 11 years ago
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
Wade Cherry
over 11 years ago
Note: This was originally posted on 29th June 2012 at
http://forums.arm.com
The issue is dependent on the version of Gator/Streamline used.
Gator has migrated from a tick-based system to a time-based system, which will cause the const value X to show in the timeline as something other than X unless the read function is called *exactly* in 1ms increments.
Also, the .read functions are now called at various times, not just based on a 1ms tick. For example, they are now called whenever a context switch happens. In order to produce a flat timeline in Streamline, the value returned by the read function must be a function of time.
The latest version, DS-5 v5.10, has updated examples, see gator_events_mmaped.c on
http://git.linaro.org/gitweb?p=arm/ds5/gator.git;a=summary
Sorry for the late response but hope this makes sense.
Cancel
Vote up
0
Vote down
Cancel
Reply
Wade Cherry
over 11 years ago
Note: This was originally posted on 29th June 2012 at
http://forums.arm.com
The issue is dependent on the version of Gator/Streamline used.
Gator has migrated from a tick-based system to a time-based system, which will cause the const value X to show in the timeline as something other than X unless the read function is called *exactly* in 1ms increments.
Also, the .read functions are now called at various times, not just based on a 1ms tick. For example, they are now called whenever a context switch happens. In order to produce a flat timeline in Streamline, the value returned by the read function must be a function of time.
The latest version, DS-5 v5.10, has updated examples, see gator_events_mmaped.c on
http://git.linaro.org/gitweb?p=arm/ds5/gator.git;a=summary
Sorry for the late response but hope this makes sense.
Cancel
Vote up
0
Vote down
Cancel
Children
No data