Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.246

Trace Configuration

In this topic:

Default Analyzer Configuration

Creating New Configuration

Managing Analyzer Configuration List

 

 

Introduction

To configure Analyzer, you first have to start with Trace Configuration. You have the following options via View / Analyzer / Analyzer Configuration button. The Operation mode should already be configured.

 

Create-New-Analyter

 

 

Default Analyzer Configuration

Default Configuration is provided by default when new trace file is opened and is used to record application program flow from the application run on. No further configuration is needed.

 

 

Creating New Configuration

By clicking Create New Configuration, New Configuration dialog open, where you can configure various Hardware Triggers.

 

New-config

 

Analysis

Profiler - Enable to view results in Profiler Timeline.

Coverage -  Enable to view results.

Trace - When creating a new trace configuration, Trace will always be performed, because it's the basis for the analysis.

 

Hardware Trigger

Automatic - Configure the trace settings based on the analysis you wish to perform. winIDEA determines best configuration for desired analysis, while considering CPU trace architecture limitations. By default Analyzer will automatically configure the hardware based on the events you wish to profile, or code areas you wish to measure coverage on. This is the best method for users who are not familiar with specific CPU architecture.

Wizard - After creating the new configuration, Trigger Wizard is started that enables you to create most commonly used triggers.

Manual - Manual Hardware Trigger configuration is enabled. The Manual Hardware Trigger Configuration reflects the trace configuration logic and therefore depends on the trace technology used.

Warning_orange

When Manual Hardware Trigger is enabled you must correctly configure the trace logic yourself, otherwise it can happen that no trace data will be generated / recorded.

 

Program flow + Instrumentation - Trigger is set to record program flow and instrumentation messages.

Trace Templates - Opens the list of available templates, from which you can select the desired template and modify template’s parameters:

 

If you wish to use multiple configurations interchangeably, create new additional configurations.

 

 

Managing Analyzer Configuration List

If you wish to maximize the use of the Analyzer, you will probably need multiple Analyzer Configurations, e.g. one for OS profiling and one for coverage measurements. You have two option:

Create multiple Analyzer TRD files (a bit harder to manage, but allows you to store each Analyzer Recording separately)

Create multiple Analyzer configurations inside one Analyzer file (keep all the Analyzer Configurations in one file, easier to manage)

 

You can view, select, and edit the available Analyzer Configurations in the Analyzer Configuration drop-down menu.

 

use-analyzer-configurations

 

You can maintain the list of the Analyzer Configurations via Analyzer Configuration List.

 

edit-configuration-list

 

AnalyzerConfiguration-AnalyzerConfigurationList

 

 

More resources

Getting started with Trace - Tutorials

Trace Window

 

Copyright © 2024 TASKING Germany GmbH