[PATCH v2 2/2] perf: reformat documentation on perf events.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Nitesh Konkar <nitkon12@xxxxxxxxxxxxxxxxxx>
---
 src/libvirt-domain.c | 48 +++++++++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 21 deletions(-)

diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index fa28217..203e189 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -11195,27 +11195,33 @@ virConnectGetDomainCapabilities(virConnectPtr conn,
  *
  * VIR_DOMAIN_STATS_PERF: Return perf event statistics.
  * The typed parameter keys are in this format:
- * "perf.cmt" - the usage of l3 cache (bytes) by applications running on the
- *              platform as unsigned long long. It is produced by cmt perf
- *              event.
- * "perf.mbmt" - the total system bandwidth (bytes/s) from one level of cache
- *               to another as unsigned long long. It is produced by mbmt perf
- *               event.
- * "perf.mbml" - the amount of data (bytes/s) sent through the memory controller
- *               on the socket as unsigned long long. It is produced by mbml
- *               perf event.
- * "perf.cache_misses"     - the count of cache misses as unsigned long long.
- *                           It is produced by cache_misses perf event.
- * "perf.cache_references" - the count of cache hits as unsigned long long.
- *                           It is produced by cache_references perf event.
- * "perf.instructions"     - The count of instructions as unsigned long long.
- *                           It is produced by instructions perf event.
- * "perf.cpu_cycles"       - The count of cpu cycles (total/elapsed) as an
- *                           unsigned long long. It is produced by cpu_cycles
- *                           perf event.
- * "perf.branch_instructions" - The count of branch instructions as unsigned
- *                              long long. It is produced by branch_instructions
- *                              perf event.
+ * "perf.cmt":
+ *     The usage of l3 cache (bytes) by applications running on the
+ *     platform as unsigned long long. It is produced by cmt perf
+ *     event.
+ * "perf.mbmt":
+ *     The total system bandwidth (bytes/s) from one level of cache
+ *     to another as unsigned long long. It is produced by mbmt perf
+ *     event.
+ * "perf.mbml":
+ *     The amount of data (bytes/s) sent through the memory controller
+ *     on the socket as unsigned long long. It is produced by mbml
+ *     perf event.
+ * "perf.cache_misses":
+ *     The count of cache misses as unsigned long long. It is produced
+ *     by cache_misses perf event.
+ * "perf.cache_references":
+ *     The count of cache hits as unsigned long long. It is produced
+ *     by cache_references perf event.
+ * "perf.instructions":
+ *     The count of instructions as unsigned long long. It is produced
+ *     by instructions perf event.
+ * "perf.cpu_cycles":
+ *     The count of cpu cycles (total/elapsed) as an unsigned long long.
+ *     It is produced by cpu_cycles perf event.
+ * "perf.branch_instructions":
+ *     The count of branch instructions as unsigned long long. It is
+ *     produced by branch_instructions perf event.
  *
  * Note that entire stats groups or individual stat fields may be missing from
  * the output in case they are not supported by the given hypervisor, are not
-- 
1.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux