wiki:GSoC/2011/gprof

Version 7 (modified by Chris Johns, on 12/02/14 at 09:59:30) (diff)

--

RTEMSgprof

Mentors:

Volunteer: None

Status: Needs mentor(s)

Introduction: gprof is a tool for profiling an application. It is a statistical profiling tool, which means that it samples an application to determine where the application spends its time. Supporting profiling of RTEMS means supplying the necessary functions for profiling, in particular the mcount and profile routines, and adding some statistic tracking to RTEMS. This e-mail describes how this was accomplished on the LEON target, and gives some ideas for a design to support profiling RTEMS.

We would like to see the RTEMS Coverage Analysis tool covoar augmented to generate gprof format output. This would allow the RTEMS Development Team to use the coverage testing runs to also generate profiling data which could feed into optimizations.

Goal: To design and develop support for gprof profiling in RTEMS.

Requirements: List the requirements and level of expertise you estimate are required by the developer tackling this project will have to have: Required level of programming language(s), specific areas of RTEMS or tools, level of familiarity with RTEMS, cross-development, GNU/Linux, etx., development/documentation/testing tools, mathematical/algorithmic background, other desirable skills.

Resources: See the References section below.

Acknowledgements

  • who helped add did work
  • Aitor.Viana.Sanchez@… contributed the initial package.

Miscellaneous Sections

As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO.

References

Other sections: If you have more to say about the project that doesn't fit in the proposed sections of this template, feel free to add other sections at will.