public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Igor Lubashev <ilubashe@akamai.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>, Jiri Olsa <jolsa@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Namhyung Kim <namhyung@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	acme@kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] perf kvm: Use evlist layer api when possible
Date: Wed, 23 Oct 2019 10:58:53 -0200	[thread overview]
Message-ID: <20191023125853.GA7814@redhat.com> (raw)
In-Reply-To: <1571795693-23558-4-git-send-email-ilubashe@akamai.com>

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 <ilubashe@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	other threads:[~2019-10-23 12:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  1:54 [PATCH 0/3] perf: Allow running without stdin Igor Lubashev
2019-10-23  1:54 ` [PATCH 1/3] perf top: " Igor Lubashev
2019-10-23  1:54 ` [PATCH 2/3] perf kvm: " Igor Lubashev
2019-10-23 10:42   ` Jiri Olsa
2019-10-23 16:06     ` Lubashev, Igor
2019-11-08 19:55     ` Lubashev, Igor
2019-10-23  1:54 ` [PATCH 3/3] perf kvm: Use evlist layer api when possible Igor Lubashev
2019-10-23 12:58   ` Arnaldo Carvalho de Melo [this message]
2019-11-12 11:18   ` [tip: perf/core] " tip-bot2 for Igor Lubashev
2019-10-24  8:24 ` [PATCH 0/3] perf: Allow running without stdin Jiri Olsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191023125853.GA7814@redhat.com \
    --to=acme@redhat.com \
    --cc=acme@kernel.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=ilubashe@akamai.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox