perf: add emulation_faults software perf event support

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

Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
This commit is contained in:
Nitesh Konkar authored and John Ferlan committed 2017-03-07 13:51:05 -05:00
1 parent 6780791f18
commit 0265bbeee3
9 files changed
+33 -1

No files matched your search

+9
View File
@@ -1955,6 +1955,7 @@
&lt;event name='page_faults_min' enabled='no'/&gt;
&lt;event name='page_faults_maj' enabled='no'/&gt;
&lt;event name='alignment_faults' enabled='no'/&gt;
&lt;event name='emulation_faults' enabled='no'/&gt;
&lt;/perf&gt;
...
</pre>
@@ -2090,6 +2091,14 @@
applications running on the platform</td>
<td><code>perf.alignment_faults</code></td>
</tr>
<tr>
<td><code>emulation_faults</code></td>
<td>the count of emulation faults, that is when
the kernel traps on unimplemented instrucions
and emulates them for user space, by
applications running on the platform</td>
<td><code>perf.emulation_faults</code></td>
</tr>
</table>
<h3><a name="elementsDevices">Devices</a></h3>
+1
View File
@@ -441,6 +441,7 @@
<value>page_faults_min</value>
<value>page_faults_maj</value>
<value>alignment_faults</value>
<value>emulation_faults</value>
</choice>
</attribute>
<attribute name="enabled">