Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • Ozone - J-Link Debugger
  • Instruction Trace
  • Technology

Instruction trace

Ozone’s instruction trace allows for the recording, analysis and even replay of every executed instruction on an embedded system.

Contact us
Downloads
SEGGER Ozone

With the direct integration of J-Trace, Ozone can non-intrusively capture and analyze the runtime behavior of a system using embedded targets’ trace modules. Instruction trace is the fundamental information provided by trace data. Every fetched or executed instruction is recorded and provided to the debugger. J-Trace’s streaming trace capability ensures that all this information is available for analysis.

Video: Instruction Trace with Ozone [0:10]

What is Instruction Tracing?

Instruction tracing is a non-intrusive way to capture what an embedded system really executes. A component on the target CPU (such as the Embedded Trace Macrocell (ETM) on a Cortex-M microcontroller) makes this available. The trace component captures the events on the instruction bus, generates information about instructions and makes it available for storage in RAM or transmission to the trace probe. This information is then either stored to a small buffer in RAM, or to an output on the debug interface to the trace probe.

With a streaming trace probe, J-Trace, all trace information is received from the target system and immediately transferred to the debugging host computer for further analysis. Trace buffers in target RAM or on a trace probe only offer limited information such as storing the most recently-executed instructions. Streaming trace capability, however, enables the recording, storing and analyzing of the whole target system execution from start to end.

Instruction Tracing with Ozone

Ozone displays the most recently-executed instructions in its Instruction Trace Window, providing basic information. This enables analysis of the systems last actions, providing a step back in time.

The Ozone Instruction Trace displays the application’s instruction history in the form of a list of machine instructions. This is similar to a disassembly window, but in the order of execution. The list runs from most recently-executed (at the bottom) to least recently-executed (top).

Executed instructions are grouped into call frame blocks. Each call frame block contains the set of instructions that were executed within the current frame: for example, between the entry of a function to the call of a sub-function. Call frame blocks can be collapsed or expanded to hide or reveal the affiliated instructions. The number of instructions executed within a particular call frame block is displayed in the block's header.

Timing information allows the Instruction Trace Window to provide more detailed information about how long the execution of a block took. Depending on the time information’s granularity, the duration of blocks, functions or even single instructions can be measured.

Both the Source Code Viewer and the Disassembly Window are synchronized with the Instruction Trace Window. They highlight the instruction or corresponding source line of the instruction selected in the Instruction Trace Window. This allows for a look back in time, replaying the system execution not only on an instructional level but actually line-by-line.

ozone-instructiontrace
ozone-instructiontrace-src

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?