perf: add bus_cycles perf event support

This patch adds support and documentation
for the bus_cycles perf event.

Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
This commit is contained in:
Nitesh Konkar
2016-12-15 16:47:05 -05:00
committed by John Ferlan
parent 5fe099afdd
commit 7d34731067
10 changed files with 34 additions and 4 deletions
+6
View File
@@ -1929,6 +1929,7 @@
&lt;event name='cache_misses' enabled='no'/&gt;
&lt;event name='branch_instructions' enabled='no'/&gt;
&lt;event name='branch_misses' enabled='no'/&gt;
&lt;event name='bus_cycles' enabled='no'/&gt;
&lt;/perf&gt;
...
</pre>
@@ -1984,6 +1985,11 @@
<td>the count of branch misses by applications running on the platform</td>
<td><code>perf.branch_misses</code></td>
</tr>
<tr>
<td><code>bus_cycles</code></td>
<td>the count of bus cycles by applications running on the platform</td>
<td><code>perf.bus_cycles</code></td>
</tr>
</table>
<h3><a name="elementsDevices">Devices</a></h3>
+3 -2
View File
@@ -35,8 +35,9 @@
<li><strong>Improvements</strong>
<ul>
<li>perf: Add more perf statistics<br/>
Add support to get the count of branch instructions executed
and branch misses by applications running on the platform
Add support to get the count of branch instructions executed,
branch misses, and bus cycles by applications running on
the platform
</li>
</ul>
</li>
+1
View File
@@ -429,6 +429,7 @@
<value>cache_misses</value>
<value>branch_instructions</value>
<value>branch_misses</value>
<value>bus_cycles</value>
</choice>
</attribute>
<attribute name="enabled">