lkml.org 
[lkml]   [2016]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v14 3/8] perf tests: Add testcase for auxiliary evlist
On Thu, Jul 07, 2016 at 05:34:44AM +0000, Wang Nan wrote:

SNIP

> +
> perf_evlist__enable(evlist);
> testcase();
> perf_evlist__disable(evlist);
>
> - err = count_samples(evlist, sample_count, comm_count);
> + perf_evlist__mmap_read_catchup_all(aux_evlist);
> + err = count_samples(aux_evlist, exit_sample_count, comm_count);
> + if (err)
> + goto errout;
> + err = count_samples(evlist, enter_sample_count, &dummy);

should this one use perf_evlist__mmap_read_forward to count samples?

jirka

\
 
 \ /
  Last update: 2016-07-08 17:21    [W:0.132 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site