Commit | Line | Data |
---|---|---|
e2ea8484 GB |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- *************************************************************************** | |
3 | * Copyright (c) 2014 École Polytechnique de Montréal | |
4 | * | |
5 | * All rights reserved. This program and the accompanying materials are | |
6 | * made available under the terms of the Eclipse Public License v1.0 which | |
7 | * accompanies this distribution, and is available at | |
8 | * http://www.eclipse.org/legal/epl-v10.html | |
9 | * | |
10 | * Contributors: | |
11 | * Geneviève Bastien - Initial API and implementation | |
12 | *************************************************************************** --> | |
13 | <tmfxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
14 | xsi:noNamespaceSchemaLocation="xmlDefinition.xsd"> | |
15 | ||
16 | <xyView id="kernel.kvm.exit.xychart"> | |
17 | <head> | |
18 | <analysis id="kernel.kvm.exit.sp" /> | |
19 | <label value="Exit reasons" /> | |
20 | </head> | |
21 | ||
22 | <entry path="Reasons/*" displayType="delta"> | |
23 | <display type="self" /> | |
24 | </entry> | |
25 | </xyView> | |
26 | ||
27 | <stateProvider id="kernel.kvm.exit.sp" version="1"> | |
28 | <head> | |
29 | <traceType id="org.eclipse.linuxtools.lttng2.kernel.tracetype" /> | |
30 | <label value="KVM exit reasons" /> | |
31 | </head> | |
32 | ||
33 | <!-- case 1 : exit_syscall : Fields: int64 ret --> | |
34 | <eventHandler eventName="kvm_exit"> | |
35 | <stateChange> | |
36 | <stateAttribute type="constant" value="Reasons" /> | |
37 | <stateAttribute type="eventField" value="exit_reason" /> | |
38 | <stateValue type="int" value="1" increment="true" /> | |
39 | </stateChange> | |
40 | </eventHandler> | |
41 | </stateProvider> | |
42 | </tmfxml> |