Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Silicon Vendors
  • Support
  • About Us
  • Blog
  • Forum
  • Search
  • Jobs
  • Newsletter
  • Blog
  • Contact
  • Shop
  • Ozone - debugger and performance analyzer
  • Trace Reports

    Trace reports

    Ozone trace reports export execution data from instruction tracing for external analysis & documentation.

    Contact us
    Downloads
    SEGGER Ozone
    1. 1.Understanding Instruction Trace Export
    2. 2.Code Coverage and Profiling Reports
    3. 3.Automated Testing

    After running a test application and collecting trace data, further analysis of the information might need to be done. Data may also have to be stored for QA processes or certification. Ozone lets you save debug snapshots for later analysis within the tool. This allows you to export trace information for use in external tools.

    ozone-instructiontrace-export

    Understanding Instruction Trace Export

    All information from the Instruction Trace Window can be exported into a CSV file. The export file contains all instructions as shown in Ozone. This includes address, encoding, corresponding source line, and execution timestamp. This information can be used with external scripts and tools to further analyze what recently happened on the target system.

    Using Ozone's instruction trace export does not require a complex parser for the hardware-dependent trace data. All information is readily available in a generic format.

    Code Coverage and Profiling Reports

    After a test application is run, Ozone immediately provides information for code coverage and profiling. The information from the Code Profiling Window can be exported for further analysis in external tools, or as human-readable text files to be stored for QA processes or certification.

    For further analysis, the code coverage and profiling data can be saved as a processable CSV file. All information as shown in the window is available. The export can be further refined to select the whole application or only modules and functions of interest to be stored.

    For documentation purposes, the data can be saved as a text file. This resembles the code coverage and profiling information in an easily readable and understandable form. As with the CSV export, the range to be exported can be selected.

    ozone-codeprofile-export
    Ozone Code Profile Report
    
    Project:       C:/Projects/K66FN2M0_emPower/Start_K66FN2M0.jdebug
    Application:   C:/Projects/K66FN2M0_emPower/Output/Start_K66FN2M0.elf
    
    Code Coverage Summary
    
    Module/Function      |      Source Lines       |      Instructions                 
    ---------------------+-------------------------+------------------------
    APP_Main.c           |                         |                        
      _BGTask            |    5 /     6     83.3%  |   12 /   13     92.3%
      _cbTimer           |    5 /     6     83.3%  |   17 /   18     94.4%
      _HPTask            |   14 /    14    100.0%  |   57 /   57    100.0%
      _InitHW            |    7 /     8     87.5%  |   29 /   30     96.7%
      _MainTask          |   15 /    15    100.0%  |   83 /   83    100.0%
      _WorkerTask        |    7 /     8     87.5%  |   28 /   31     90.3%
      ADC0_IRQHandler    |    6 /     7     85.7%  |   50 /   56     89.3%
      main               |   11 /    13     84.6%  |   60 /   64     93.8%
    ---------------------+-------------------------+------------------------
      Total              |   70 /    77     90.9%  |  336 /  352     95.5%
    
    
    Code Profile Summary
    
    Module/Function      | Run Count | Fetch Count          
    ---------------------+-----------+-------------
    APP_Main.c           |           |             
      _BGTask            |        1  |     13 022  
      _cbTimer           |      291  |      4 947  
      _HPTask            |        1  |     12 339  
      _InitHW            |        1  |         29  
      _MainTask          |        1  |     51 863  
      _WorkerTask        |      646  |    766 016  
      ADC0_IRQHandler    |      291  |     14 841  
      main               |        1  |         60  
    ---------------------+-----------+-------------
      Total              |    1 233  |    863 117  
    
    Video: Automated Testing with Ozone [0:13]

    Automated Testing

    Ozone supports fully automated runs of a test application from the start of a debug session to the export of the report file.

    An Ozone project file is a C programming language-like script. It enables full control over the debugging workflow. When a new project is created, the main routine OnProjectLoad(), does the basic setup for connection, target device, and target application. The scripting interface offers most actions that are accessible via the graphical user interface as affiliated functions. Additionally, callbacks in the project file are called at certain points: debug start, reset and download, target halt or a breakpoint.

    With these functions and callbacks an automated test can be created:

    1. Setup the connection to J-Trace and target device
    2. Configure and enable instruction trace
    3. Load the test application to the target
    4. Send test parameters to the target
    5. Set a breakpoint at the end of the test application
    6. Run the test on the target
    7. When the breakpoint is hit, export the instruction trace data and code coverage report
    8. Exit Ozone

    For more information refer to Automated Tests with Ozone

    • User manual
    • List of downloads
    • Release notes
    • Update notification
    • Support
    • Silicon vendor resources

    Headquarters

    SEGGER Microcontroller GmbH

    Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    info@segger.com
    Tel.: +49-2173-99312-0
    Fax: +49-2173-99312-28

    Locations

    USA: SEGGER Microcontroller Systems LLC

    Boston area
    101 Suffolk Lane
    Gardner, MA 01440, USA
    us-east@segger.com
    Tel.: +1-978-874-0299
    Fax: +1-978-874-0599

    Silicon Valley
    Milpitas, CA 95035, USA
    us-west@segger.com
    Tel.: +1-408-767-4068

    China: SEGGER Microcontroller China Co., Ltd.

    Room 218, Block A, Dahongqiaoguoji
    No. 133 Xiulian Road
    Minhang District, Shanghai 201199, China
    china@segger.com
    Tel.: +86-133-619-907-60

    ISO 9001 certified

    ISO 9001

    30+ years of experience

    First-class embedded software tools since 1992
    • Imprint
    • Disclaimer
    • Code of Conduct
    • Privacy Policy
    © 2025 SEGGER - All rights reserved.