Perf User Guide - Perf Views

# Perf Views

A Perf view is where all the profiling results can be easily read. There are a few different views that may be activated depending on the kind of information a user is interested in.

### Perf Tree View

The Perf Tree View stores profiling information in a tree-like hierarchy.

The tree structure displayed above describes one profile of one or more events in the following manner:

- Events -- the name of the profiling event used by Perf
  - Session -- the name of the session the profile is stored in
    - Image -- the binary being profiled
      - Symbol -- symbols gathered from the binary's debug information
        - Sample -- individual Perf samples correlated to line numbers of source code
      - Dependent Images -- other binaries related to the run of the program; shared libraries or kernel modules
        - Image -- the dependent binary
          - Symbol -- same as above
            - Sample -- same as above

### Source Disassembly View

Display the source code of the targeted program alongside its assembly code. This also lists the percentage of samples collected at each instruction.

This option may be enabled from the launch configuration options for Perf.

### Stat View

Display various event information about the execution of the targeted program.

This option may be enabled from the launch configuration options for Perf.