Em Tue, Oct 22, 2019 at 09:54:53PM -0400, Igor Lubashev escreveu:
> No need for layer violations when a proper evlist api is available.

Thanks, applied.

- Arnaldo
 
> Signed-off-by: Igor Lubashev <iluba...@akamai.com>
> ---
>  tools/perf/builtin-kvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c
> index 5217aa3596c7..340927c2b243 100644
> --- a/tools/perf/builtin-kvm.c
> +++ b/tools/perf/builtin-kvm.c
> @@ -1005,7 +1005,7 @@ static int kvm_events_live_report(struct perf_kvm_stat 
> *kvm)
>               }
>  
>               if (!rc && !done)
> -                     err = fdarray__poll(fda, 100);
> +                     err = evlist__poll(kvm->evlist, 100);
>       }
>  
>       evlist__disable(kvm->evlist);
> -- 
> 2.7.4

Reply via email to