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:
- Halt the target and select the desired debug context in the Debug view.Each thread uses specific mechanisms for tracing.
- Open the Instruction Trace view and click.
- In the opened dialog box, select the desired method from theTrace Typedrop-down list.
- You can filter out kernel or user mode instructions or choose to trace all (default) using radio buttons.
- If you have selected the Intel® PT feature, you can further customize trace parameters. CheckShow Advanced Parametersbox to expand the dialog.
- To specify the search address range, clickAddon the right.
- 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.
- ClickOKto save changes.
- ClickOKto close the configuration dialog and start trace capturing by clicking.
- Resume the target.
- In the Instruction Trace view, clickto view the collected history of instruction calls.