Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210348

Re: [PATCH RFC 05/10] perf,tools: Enable statistic read for perf record

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 05/10] perf,tools: Enable statistic read for perf record
Date 2015-08-20 11:50 +0200
Message-ID <pZuDU-15a-15@gated-at.bofh.it> (permalink)
References <pYSfg-3x6-7@gated-at.bofh.it> <pYSfh-3x6-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 18, 2015 at 05:25:41AM -0400, kan.liang@intel.com wrote:

SNIP

> diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
> index 373f65b..ca7bf8d 100644
> --- a/tools/perf/util/evlist.c
> +++ b/tools/perf/util/evlist.c
> @@ -854,6 +854,9 @@ static int perf_evlist__mmap_per_evsel(struct perf_evlist *evlist, int idx,
>  		if (evsel->system_wide && thread)
>  			continue;
>  
> +		if (evsel->stat_read)
> +			continue;
> +

how about filters (perf_evlist__apply_filters) ... should be disabled as well IIUIC

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC 05/10] perf,tools: Enable statistic read for perf record kan.liang@intel.com - 2015-08-18 18:50 +0200
  Re: [PATCH RFC 05/10] perf,tools: Enable statistic read for perf  record Jiri Olsa <jolsa@redhat.com> - 2015-08-20 11:50 +0200
  Re: [PATCH RFC 05/10] perf,tools: Enable statistic read for perf  record Jiri Olsa <jolsa@redhat.com> - 2015-08-20 11:50 +0200

csiph-web