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-13 21:31:38 +05:30
committed by John Ferlan
parent 5fe099afdd
commit 7d34731067
10 changed files with 34 additions and 4 deletions

View File

@@ -947,7 +947,8 @@ I<--perf> returns the statistics of all enabled perf events:
"perf.cache_references" - the count of cache hits,
"perf.cache_misses" - the count of caches misses,
"perf.branch_instructions" - the count of branch instructions,
"perf.branch_misses" - the count of branch misses
"perf.branch_misses" - the count of branch misses,
"perf.bus_cycles" - the count of bus cycles
See the B<perf> command for more details about each event.
@@ -2299,6 +2300,8 @@ B<Valid perf event names>
platform.
branch_misses - Provides the count of branch misses executed
by applications running on the platform.
bus_cycles - Provides the count of bus cycles executed
by applications running on the platform.
B<Note>: The statistics can be retrieved using the B<domstats> command using
the I<--perf> flag.