diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:42:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:42:49 -0400 |
commit | 519f526d391b0ef775aeb04c4b6f632ea6b3ee50 (patch) | |
tree | 36985d7882734c136fc3c9a48e9d9abf9e97c1f1 /include/trace | |
parent | 06ab838c2024db468855118087db16d8fa905ddc (diff) | |
parent | ba60c41ae392b473a1897faa0b8739fcb8759d69 (diff) |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull more kvm updates from Paolo Bonzini:
"ARM:
- Full debug support for arm64
- Active state switching for timer interrupts
- Lazy FP/SIMD save/restore for arm64
- Generic ARMv8 target
PPC:
- Book3S: A few bug fixes
- Book3S: Allow micro-threading on POWER8
x86:
- Compiler warnings
Generic:
- Adaptive polling for guest halt"
* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (49 commits)
kvm: irqchip: fix memory leak
kvm: move new trace event outside #ifdef CONFIG_KVM_ASYNC_PF
KVM: trace kvm_halt_poll_ns grow/shrink
KVM: dynamic halt-polling
KVM: make halt_poll_ns per-vCPU
Silence compiler warning in arch/x86/kvm/emulate.c
kvm: compile process_smi_save_seg_64() only for x86_64
KVM: x86: avoid uninitialized variable warning
KVM: PPC: Book3S: Fix typo in top comment about locking
KVM: PPC: Book3S: Fix size of the PSPB register
KVM: PPC: Book3S HV: Exit on H_DOORBELL if HOST_IPI is set
KVM: PPC: Book3S HV: Fix race in starting secondary threads
KVM: PPC: Book3S: correct width in XER handling
KVM: PPC: Book3S HV: Fix preempted vcore stolen time calculation
KVM: PPC: Book3S HV: Fix preempted vcore list locking
KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD
KVM: PPC: Book3S HV: Fix bug in dirty page tracking
KVM: PPC: Book3S HV: Fix race in reading change bit when removing HPTE
KVM: PPC: Book3S HV: Implement dynamic micro-threading on POWER8
KVM: PPC: Book3S HV: Make use of unused threads when running guests
...
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/kvm.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h index a44062da684b..d6f83222a6a1 100644 --- a/include/trace/events/kvm.h +++ b/include/trace/events/kvm.h | |||
@@ -358,6 +358,36 @@ TRACE_EVENT( | |||
358 | 358 | ||
359 | #endif | 359 | #endif |
360 | 360 | ||
361 | TRACE_EVENT(kvm_halt_poll_ns, | ||
362 | TP_PROTO(bool grow, unsigned int vcpu_id, int new, int old), | ||
363 | TP_ARGS(grow, vcpu_id, new, old), | ||
364 | |||
365 | TP_STRUCT__entry( | ||
366 | __field(bool, grow) | ||
367 | __field(unsigned int, vcpu_id) | ||
368 | __field(int, new) | ||
369 | __field(int, old) | ||
370 | ), | ||
371 | |||
372 | TP_fast_assign( | ||
373 | __entry->grow = grow; | ||
374 | __entry->vcpu_id = vcpu_id; | ||
375 | __entry->new = new; | ||
376 | __entry->old = old; | ||
377 | ), | ||
378 | |||
379 | TP_printk("vcpu %u: halt_poll_ns %d (%s %d)", | ||
380 | __entry->vcpu_id, | ||
381 | __entry->new, | ||
382 | __entry->grow ? "grow" : "shrink", | ||
383 | __entry->old) | ||
384 | ); | ||
385 | |||
386 | #define trace_kvm_halt_poll_ns_grow(vcpu_id, new, old) \ | ||
387 | trace_kvm_halt_poll_ns(true, vcpu_id, new, old) | ||
388 | #define trace_kvm_halt_poll_ns_shrink(vcpu_id, new, old) \ | ||
389 | trace_kvm_halt_poll_ns(false, vcpu_id, new, old) | ||
390 | |||
361 | #endif /* _TRACE_KVM_MAIN_H */ | 391 | #endif /* _TRACE_KVM_MAIN_H */ |
362 | 392 | ||
363 | /* This part must be outside protection */ | 393 | /* This part must be outside protection */ |