Add/Remove Group

A group is a range of addresses. In case, you want to view trace of a part of a function only, for example, for loop, you can find the addresses of the loop and create a group for those addresses.

To add a group:

  1. Right-click the row, in the Edit Groups dialog box, where you want to insert a group, and select Insert Group from the context menu. Alternatively, press the Ctrl+G key.

    A row is added to the table with new as function name.

    Figure 1. Adding Group
    Adding Group
  2. Double-click the new group cell.

    The cell becomes editable.

  3. Type a name for the group, for example, MyGroup.
  4. Double-click the cell of the corresponding Addresses column, and edit the address range according to requirements, for example, 0x1fff0330 - 0x1fff035f.
  5. Change the color of the group.
    Figure 2. Edit Groups Dialog Box After Editing Address Range and Color of Group
    Edit Groups Dialog Box After Editing Address Range and Color of Group
  6. Click OK.

    The MyGroup group is added to the timeline. The MyGroup group covers a bit of the printf_console group and full address range of the strlen group. The uncovered address range will become part of the <other> group, as shown in the figure below.

    Note: In case the address range you entered overlaps with the address range of any existing function, you get the Overlapped Groups message after clicking OK. You can disable the functions that are overlapped with the address range of the added group.The printf_console and strlen functions have been disabled, as shown in the figure above, to prevent overlapping. Disabling a function does not delete the function.
    Figure 3. Timeline After Adding Group
    Timeline After Adding Group

To delete a group, select it, right-click the Edit Groups dialog box, and select the Delete Selected option from the context menu. You can also remove a group from the graph by clearing the corresponding checkbox in the Name column. Check it again to include it in the graph.