Message ID | 20190430172842.27369-1-liboxuan@connect.hku.hk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/ppc/kvm: Fix trace typo | expand |
On Wed, May 01, 2019 at 01:28:42AM +0800, Boxuan Li wrote: > Signed-off-by: Boxuan Li <liboxuan@connect.hku.hk> Applied to ppc-for-4.1, thanks. > --- > target/ppc/kvm.c | 2 +- > target/ppc/trace-events | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c > index 02e22e2017..1a9caf8f40 100644 > --- a/target/ppc/kvm.c > +++ b/target/ppc/kvm.c > @@ -1721,7 +1721,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) > trace_kvm_handle_dcr_write(); > ret = kvmppc_handle_dcr_write(env, run->dcr.dcrn, run->dcr.data); > } else { > - trace_kvm_handle_drc_read(); > + trace_kvm_handle_dcr_read(); > ret = kvmppc_handle_dcr_read(env, run->dcr.dcrn, &run->dcr.data); > } > break; > diff --git a/target/ppc/trace-events b/target/ppc/trace-events > index 7b3cfe11fd..3dc6740706 100644 > --- a/target/ppc/trace-events > +++ b/target/ppc/trace-events > @@ -22,7 +22,7 @@ kvm_failed_put_vpa(void) "Warning: Unable to set VPA information to KVM" > kvm_failed_get_vpa(void) "Warning: Unable to get VPA information from KVM" > kvm_injected_interrupt(int irq) "injected interrupt %d" > kvm_handle_dcr_write(void) "handle dcr write" > -kvm_handle_drc_read(void) "handle dcr read" > +kvm_handle_dcr_read(void) "handle dcr read" > kvm_handle_halt(void) "handle halt" > kvm_handle_papr_hcall(void) "handle PAPR hypercall" > kvm_handle_epr(void) "handle epr"
diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c index 02e22e2017..1a9caf8f40 100644 --- a/target/ppc/kvm.c +++ b/target/ppc/kvm.c @@ -1721,7 +1721,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) trace_kvm_handle_dcr_write(); ret = kvmppc_handle_dcr_write(env, run->dcr.dcrn, run->dcr.data); } else { - trace_kvm_handle_drc_read(); + trace_kvm_handle_dcr_read(); ret = kvmppc_handle_dcr_read(env, run->dcr.dcrn, &run->dcr.data); } break; diff --git a/target/ppc/trace-events b/target/ppc/trace-events index 7b3cfe11fd..3dc6740706 100644 --- a/target/ppc/trace-events +++ b/target/ppc/trace-events @@ -22,7 +22,7 @@ kvm_failed_put_vpa(void) "Warning: Unable to set VPA information to KVM" kvm_failed_get_vpa(void) "Warning: Unable to get VPA information from KVM" kvm_injected_interrupt(int irq) "injected interrupt %d" kvm_handle_dcr_write(void) "handle dcr write" -kvm_handle_drc_read(void) "handle dcr read" +kvm_handle_dcr_read(void) "handle dcr read" kvm_handle_halt(void) "handle halt" kvm_handle_papr_hcall(void) "handle PAPR hypercall" kvm_handle_epr(void) "handle epr"
Signed-off-by: Boxuan Li <liboxuan@connect.hku.hk> --- target/ppc/kvm.c | 2 +- target/ppc/trace-events | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)