mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
perf: add one more perf event support
With current perf framework, this patch adds support and documentation for the branch_instructions perf event. Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
This commit is contained in:
committed by
John Ferlan
parent
016b63bdf0
commit
8546adf80b
@@ -945,7 +945,8 @@ I<--perf> returns the statistics of all enabled perf events:
|
||||
"perf.cpu_cycles" - the count of cpu cycles (total/elapsed),
|
||||
"perf.instructions" - the count of instructions,
|
||||
"perf.cache_references" - the count of cache hits,
|
||||
"perf.cache_misses" - the count of caches misses
|
||||
"perf.cache_misses" - the count of caches misses,
|
||||
"perf.branch_instructions" - the count of application branch instructions
|
||||
|
||||
See the B<perf> command for more details about each event.
|
||||
|
||||
@@ -2292,6 +2293,9 @@ B<Valid perf event names>
|
||||
(total/elapsed). May be used with
|
||||
instructions in order to get a cycles
|
||||
per instruction.
|
||||
branch_instructions - Provides the count of branch instructions
|
||||
executed by applications running on the
|
||||
platform.
|
||||
|
||||
B<Note>: The statistics can be retrieved using the B<domstats> command using
|
||||
the I<--perf> flag.
|
||||
|
||||
Reference in New Issue
Block a user