Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Linux Tools Project/PERF/User Guide/Comparison Feature"

(Profiling Comparison)
(Profiling Comparison)
Line 1: Line 1:
 
= Profiling Comparison  =
 
= Profiling Comparison  =
  
All the profiling information that is displayed when using the Perf plug-in is recorded in auto-generated perf.data files.
+
All the profiling information that is displayed when using the Perf plug-in is recorded in auto-generated perf.data files. The Perf plug-in allows you
The Perf plug-in allows you to compare two perf.data files, providinga visual representation of the differential result.<br>  
+
 
 +
to compare two perf.data files, providinga visual representation of the differential result.<br>  
  
 
== Locating Perf data files<br>  ==
 
== Locating Perf data files<br>  ==
  
The most recent Perf data files, namely perf.data and perf.data.old, are located under the project's root folder by default. However, any perf.data files available in the project explorer can be selected for comparison.<br>  
+
The most recent Perf data files, namely perf.data and perf.data.old, are located under the project's root folder by default. However, any perf.data
 +
 
 +
files available in the project explorer can be selected for comparison.<br>  
  
 
[[Image:Project-explorer.png]]  
 
[[Image:Project-explorer.png]]  
Line 16: Line 19:
 
[[Image:Menu action.png]]  
 
[[Image:Menu action.png]]  
  
<br>This will bring up a view that will be updated whenever a perf data file is selected from the project explorer. Old perf data files should be selected first for accurate results.<br>  
+
<br>This will bring up a view that will be updated whenever a perf data file is selected from the project explorer. Old perf data files should be  
 +
 
 +
selected first for accurate results.<br>  
  
 
[[Image:Data-selection.png]]  
 
[[Image:Data-selection.png]]  

Revision as of 14:34, 29 June 2012

Profiling Comparison

All the profiling information that is displayed when using the Perf plug-in is recorded in auto-generated perf.data files. The Perf plug-in allows you

to compare two perf.data files, providinga visual representation of the differential result.

Locating Perf data files

The most recent Perf data files, namely perf.data and perf.data.old, are located under the project's root folder by default. However, any perf.data

files available in the project explorer can be selected for comparison.

Project-explorer.png

Selecting Perf data files

To select the data files that will be compared, click on the downward arrow in the actions menu and select "Compare Sessions".

Menu action.png


This will bring up a view that will be updated whenever a perf data file is selected from the project explorer. Old perf data files should be

selected first for accurate results.

Data-selection.png


Comparing Perf data files

To compare the selected data files, click on the "Session Comparison" option
in the action menu.

Sess-comp-option.png

This will display the results of the comparison.

Diff-table.png

Perf Comparison View:

The table displayed above describes the result of the comparison in the following manner:

  • Function
    • Name of profiled function
  • New/Old Overhead
    • Percentage of the overall samples collected in the corresponding function. The percentages in the "New Overhead" and "Older Percentages" column correspond to those recorded in the newer and older perf data files, respectively. If the specific function was not recorded in a Perf data file, a "-" is displayed.
  • Result
    • removed: Function was removed in most recent profiling.
    • added: Function was added in most recent profiling.
    • +/- percentage: Gain/Loss in overall samples collected in corresponding function.
  • Event
    • Event function corresponds to.

Back to the top