Define Working Sets

Working sets allow you to create named groups for the tracepoints. You can define working sets for the selected tracepoints and then group the tracepoints by working sets. To create a working set:
  1. Click the drop-down in the Analysispoints view and select the Working Sets option.

    The Select Working Set dialog box appears.

  2. Click New to create a new working set.

    The New Working Set dialog box appears.

  3. Type a name for the working set in the Working Set Name textbox.
  4. Select the tracepoints in the Working Sets list that you want to add to the new working set. For example, you can select hardware tracepoints for one working set and software tracepoints for another working set.
  5. Click Finish.
    The new working set appears in the Select Working Set dialog box.
    Figure 1. Select Working Set Dialog Box
    Select Working Set Dialog Box
  6. Click OK to close the dialog box.

To group tracepoints by working sets, click the drop-down in the Analysispoints view, and select Group By > AnalysispointWorking Sets. The tracepoints grouped by the working sets appear in the Analysispoints view.

Figure 2. Analysispoints Grouped by Working Sets
Analysispoints Grouped by Working Sets

You can also set a working set as the default one so that whenever you add any stop or start tracepoint to your application, it gets automatically added to the default working set. In this way, working sets help you work on a particular set of tracepoints at a particular time. Click the drop-down in the Analysispoints view and select the Select Default Working Set option. It opens the Select Default Working Set dialog box where you can set one of the available tracepoints working sets as the default one. Alternatively, right-click the working set, and select the ToggleDefault.label option from the context menu to set the working set as default.

You can deselect the working set which you set as default, using the Deselect Default Working Set option from the drop-down or selecting the ToggleDefault.label option from the context menu.