mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
bae660869d
With current perf framework, this patch adds support and documentation for more perf events, including cache misses, cache references, cpu cycles, and instructions. Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
27 lines
779 B
XML
27 lines
779 B
XML
<domain type='qemu'>
|
|
<name>foo</name>
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>219136</memory>
|
|
<currentMemory unit='KiB'>219136</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='i686' machine='pc'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<perf>
|
|
<event name='cmt' enabled='yes'/>
|
|
<event name='mbmt' enabled='no'/>
|
|
<event name='mbml' enabled='yes'/>
|
|
<event name='cpu_cycles' enabled='no'/>
|
|
<event name='instructions' enabled='yes'/>
|
|
<event name='cache_references' enabled='no'/>
|
|
<event name='cache_misses' enabled='no'/>
|
|
</perf>
|
|
<devices>
|
|
</devices>
|
|
</domain>
|