User and Reference Guide

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

Launch Trace Capturing

Intel® System Debugger supports the following methods for collecting execution trace:
  • Last Branch Record (LBR) - a register-backed hardware feature with limited jump history.
  • Intel® Processor Trace (Intel® PT) - a feature to that allows you to trace thousands of instructions and provides options for configuring the trace.
To record trace with Intel® System Debugger:
  1. Halt the target and select the desired debug context in the Debug view.
    Each thread uses specific mechanisms for tracing.
  2. Open the Instruction Trace view and click
    show target breakpoints
    Configure Instruction Trace
    .
  3. In the opened dialog box, select the desired method from the
    Trace Type
    drop-down list.
  4. You can filter out kernel or user mode instructions or choose to trace all (default) using radio buttons.
  5. If you have selected the Intel® PT feature, you can further customize trace parameters. Check
    Show Advanced Parameters
    box to expand the dialog.
    1. To specify the search address range, click
      Add
      on the right.
    2. In the new dialog box, select the method of defining the address range:
      • Choose to trace instructions belonging to a specific module only. The information on modules currently loaded is displayed in the dialog.
      • Specify the address range manually by entering the values in hexadecimal format.
    3. Click
      OK
      to save changes.
      configure trace
  6. Click
    OK
    to close the configuration dialog and start trace capturing by clicking
    resume
    Start Instruction Trace
    .
  7. Resume the target.
  8. In the Instruction Trace view, click
    terminate
    Stop Instruction Trace
    to view the collected history of instruction calls.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.