Filter profile data

The IDE lets you filter profile data during your data analysis so that you can look at a subset of the captured information. The IDE lets you filter out events based on type, time, and various other parameters. You can specify filtering on processes, events, and saved filters.

Note:

A System Profiler filter is different from a kernel filter. Events filtered out at this stage are not lost, unless you save the filtered log file.

An event owner filter filters in or out those events based on the owner of the event (processes, threads, and interrupts). For example, you can filter such that only events for procnto and myApp appear, or remove events for qconn and procnto.

An event filter filters in or out certain types of events, such as message-passing events.

To access some built-in filters, right-click in the Timeline area in the Summary pane, expand either Show More or Show Only, then select those items for your desired display:

  • Critical Threads (owner) and Critical Events (events)— for finding areas of concern in a system with Adaptive Partitioning.
  • State Activity (owners) — threads that changed state (e.g., SEND->REPLY).
  • IPC Activity — threads that were involved in message passing.
  • CPU Usage - All (owners) — threads that consumed CPU time.
  • MsgSend Family (owners) — threads that a selected thread sent messages to; includes nested messages.

To filter profile data:

  1. After you've begun running your process(es) and started kernel logging for a project, you can select System Profiler > Display > Switch Pane > Timeline to change to the Timeline editor state.
  2. Right-click on the Timeline canvas and select Filter.
  3. Specify your desired filtering options on the following tabs:
    • On the Owners tab, select for only those processes that you want to observe system profile data. Click Deselect All to quickly deselect all of the processes. You can then select only those that you want to monitor.
    • On the Events tab, you can specify the events that you want to filter on, such as interrupts, communication, kernel calls, and various other events. Click Deselect All to quickly deselect all of the events. You can then select only those that you want to monitor.
    • In the Filters view, click the down arrow in the top right corner and select a preconfigured filter from the menu. You can also configure your own filters here.

Notice that the Timeline will dynamically change (for the specified time range) based on the filtering selections you make.

You can use the data from the Function Instrumentation mode in System Profiler.