perf: add context_switches software perf event support

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

Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
This commit is contained in:
Nitesh Konkar
2017-02-23 20:25:33 +05:30
committed by John Ferlan
parent 6ef2c7e00f
commit 99cc3dc6a2
9 changed files with 32 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
<event name='cpu_clock' enabled='yes'/>
<event name='task_clock' enabled='yes'/>
<event name='page_faults' enabled='yes'/>
<event name='context_switches' enabled='yes'/>
</perf>
<devices>
</devices>