Commit 9c9025e
committed
KVM: x86: Plumb "force_immediate_exit" into kvm_entry() tracepoint
Annotate the kvm_entry() tracepoint with "immediate exit" when KVM is
forcing a VM-Exit immediately after VM-Enter, e.g. when KVM wants to
inject an event but needs to first complete some other operation.
Knowing that KVM is (or isn't) forcing an exit is useful information when
debugging issues related to event injection.
Suggested-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20240110012705.506918-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 2a5f091 commit 9c9025e
5 files changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1663 | 1663 | | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | | - | |
| 1666 | + | |
| 1667 | + | |
1667 | 1668 | | |
1668 | 1669 | | |
1669 | 1670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4112 | 4112 | | |
4113 | 4113 | | |
4114 | 4114 | | |
4115 | | - | |
| 4115 | + | |
| 4116 | + | |
4116 | 4117 | | |
4117 | 4118 | | |
4118 | 4119 | | |
4119 | 4120 | | |
4120 | | - | |
| 4121 | + | |
4121 | 4122 | | |
4122 | 4123 | | |
4123 | 4124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7265 | 7265 | | |
7266 | 7266 | | |
7267 | 7267 | | |
7268 | | - | |
| 7268 | + | |
7269 | 7269 | | |
7270 | 7270 | | |
7271 | 7271 | | |
| |||
7292 | 7292 | | |
7293 | 7293 | | |
7294 | 7294 | | |
7295 | | - | |
| 7295 | + | |
7296 | 7296 | | |
7297 | 7297 | | |
7298 | 7298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10956 | 10956 | | |
10957 | 10957 | | |
10958 | 10958 | | |
10959 | | - | |
| 10959 | + | |
10960 | 10960 | | |
10961 | 10961 | | |
10962 | 10962 | | |
| |||
0 commit comments