12 Jan, 2011
5 commits
-
Use 'DECLARE_EVENT_CLASS' to cleanup async_pf tracepoints
Acked-by: Gleb Natapov
Signed-off-by: Xiao Guangrong
Signed-off-by: Marcelo Tosatti -
Tracing 'async' and *pfn is useless, since 'async' is always true,
and '*pfn' is always "fault_pfn'We can trace 'gva' and 'gfn' instead, it can help us to see the
life-cycle of an async_pfSigned-off-by: Xiao Guangrong
Signed-off-by: Marcelo Tosatti -
Add tracepoint for userspace exit.
Signed-off-by: Gleb Natapov
Signed-off-by: Marcelo Tosatti -
Send async page fault to a PV guest if it accesses swapped out memory.
Guest will choose another task to run upon receiving the fault.Allow async page fault injection only when guest is in user mode since
otherwise guest may be in non-sleepable context and will not be able
to reschedule.Vcpu will be halted if guest will fault on the same page again or if
vcpu executes kernel code.Acked-by: Rik van Riel
Signed-off-by: Gleb Natapov
Signed-off-by: Marcelo Tosatti -
If a guest accesses swapped out memory do not swap it in from vcpu thread
context. Schedule work to do swapping and put vcpu into halted state
instead.Interrupts will still be delivered to the guest and if interrupt will
cause reschedule guest will continue to run another task.[avi: remove call to get_user_pages_noio(), nacked by Linus; this
makes everything synchrnous again]Acked-by: Rik van Riel
Signed-off-by: Gleb Natapov
Signed-off-by: Marcelo Tosatti
17 May, 2010
1 commit
-
This patch does:
- no need call tracepoint_synchronize_unregister() when kvm module
is unloaded since ftrace can handle it- cleanup ftrace's macro
Signed-off-by: Xiao Guangrong
Signed-off-by: Avi Kivity
01 Mar, 2010
2 commits
-
Signed-off-by: Avi Kivity
-
Signed-off-by: Avi Kivity
Signed-off-by: Marcelo Tosatti
10 Sep, 2009
4 commits
-
Add tracepoint in msi/ioapic/pic set_irq() functions,
in IPI sending and in the point where IRQ is placed into
apic's IRR.Signed-off-by: Gleb Natapov
Signed-off-by: Avi Kivity -
Signed-off-by: Avi Kivity
-
Signed-off-by: Avi Kivity
-
This allows use of the powerful ftrace infrastructure.
See Documentation/trace/ for usage information.
[avi, stephen: various build fixes]
[sheng: fix control register breakage]Signed-off-by: Marcelo Tosatti
Signed-off-by: Stephen Rothwell
Signed-off-by: Sheng Yang
Signed-off-by: Avi Kivity