• DocumentCode
    2192757
  • Title

    Coverage and Profiling for Real-Time Tiny Kernels

  • Author

    Kedia, Sital Prasad ; Bhattacharjee, Anusree ; Kailash, Rajeshwar ; Dongre, Saurabh

  • Author_Institution
    Software Oper., Memory Solutions Group, Samsung India, Bangalore, India
  • fYear
    2010
  • fDate
    June 29 2010-July 1 2010
  • Firstpage
    1926
  • Lastpage
    1931
  • Abstract
    Real-time tiny kernels run on the embedded devices with limited resources (especially memory) and usually with no file system. How theses real-time tiny kernels can be enhanced to enable coverage and profiling for the applications running in them using gcov and gprof tool provided by GCC has been described in this paper. The changes made in gcc-tool-chain in order to separate the gprof tool (based on version glibc 2.8 and binutils 2.18.50) so that it can be used for any target architecture and for any real-time OS without file system has been described here. Furthermore, when an application is enabled for coverage or profiling, its memory footprint as well as the execution time increases significantly. Due to the stringent memory constraint on embedded devices, it is necessary to keep the memory footprint of the running applications as small as possible. Hence, in this paper, a feature called function level coverage and profiling is described, which can be used to reduce the memory footprint and the execution time for coverage and profiling enabled applications. The above mentioned feature is incorporated in GCC (version 4.3) and the changes required in gcc-tool-chain to implement the feature have been described. Function level coverage and profiling feature was tested on arm target board with uC/OS-II RTOS and results show that it can save significant amount of memory on target board as well as it can reduce the execution time of the coverage/profiling enabled applications.
  • Keywords
    embedded systems; operating system kernels; optimising compilers; storage management; embedded devices; file system; function level coverage; gcc-tool-chain; limited resources; memory constraint; memory footprint; real-time OS; real-time tiny kernels; target architecture; uC/OS-II RTOS; Histograms; Instruments; Kernel; Linux; Memory management; Radiation detectors; Real time systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer and Information Technology (CIT), 2010 IEEE 10th International Conference on
  • Conference_Location
    Bradford
  • Print_ISBN
    978-1-4244-7547-6
  • Type

    conf

  • DOI
    10.1109/CIT.2010.328
  • Filename
    5577998