On Tue, Dec 06, 2016 at 15:52:08 +0530, Nitesh Konkar wrote: > With current perf framework, this patch adds support and documentation > for branch instructions perf event. > > Signed-off-by: Nitesh Konkar <nitkon12@xxxxxxxxxxxxxxxxxx> > --- > docs/formatdomain.html.in | 6 ++++ > docs/schemas/domaincommon.rng | 1 + > include/libvirt/libvirt-domain.h | 10 +++++++ > src/libvirt-domain.c | 38 +++++++++++++------------ > src/qemu/qemu_driver.c | 1 + > src/util/virperf.c | 6 +++- > src/util/virperf.h | 9 +++--- > tests/genericxml2xmlindata/generic-perf.xml | 1 + > tools/virsh.pod | 43 +++++++++++++++-------------- > 9 files changed, 72 insertions(+), 43 deletions(-) > > diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in > index 6bd02cc..259b2c6 100644 > --- a/docs/formatdomain.html.in > +++ b/docs/formatdomain.html.in > @@ -1927,6 +1927,7 @@ > <event name='instructions' enabled='yes'/> > <event name='cache_references' enabled='no'/> > <event name='cache_misses' enabled='no'/> > + <event name='branch_instructions' enabled='no'/> > </perf> > ... > </pre> > @@ -1972,6 +1973,11 @@ > <td>the count of cache misses by applications running on the platform</td> > <td><code>perf.cache_misses</code></td> > </tr> > + <tr> > + <td><code>hardware_instructions</code></td> > + <td>the count of hardware instructions by applications running on the platform</td> > + <td><code>perf.hardware_instructions</code></td> > + </tr> > </table> The two sections above reference a different name. Similarly to the rest of the code.
Attachment:
signature.asc
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list