Messages in this thread | | | Date | Thu, 20 Aug 2015 11:41:22 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH RFC 05/10] perf,tools: Enable statistic read for perf record |
| |
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
| |