lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160708144821.GC31763@krava>
Date:	Fri, 8 Jul 2016 16:48:21 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Wang Nan <wangnan0@...wei.com>
Cc:	acme@...nel.org, lizefan@...wei.com, linux-kernel@...r.kernel.org,
	pi3orama@....com, Arnaldo Carvalho de Melo <acme@...hat.com>,
	Jiri Olsa <jolsa@...nel.org>,
	Masami Hiramatsu <mhiramat@...nel.org>,
	Namhyung Kim <namhyung@...nel.org>,
	Nilay Vaish <nilayvaish@...il.com>,
	He Kuang <hekuang@...wei.com>
Subject: Re: [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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ