Re: [PATCH 02/25] perf tools: Introduce xyarray__zero function

Arnaldo Carvalho de Melo
2015-06-10T20:18:10Z

Em Wed, Jun 10, 2015 at 10:01:38PM +0200, Jiri Olsa escreveu:
> On Wed, Jun 10, 2015 at 04:06:00PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Wed, Jun 10, 2015 at 08:10:35PM +0200, Jiri Olsa escreveu:
> > > To zero all the xyarray contents. It will be used
> > > in following patches.

> > Guess we should use 'xyarray__memset()', ok?

> hum, how about xyarray__reset?

I am ok with it, its already used in many places:

[acme@zoo linux]$ find tools -name "*.[ch]" | xargs grep __reset | wc -l
60
[acme@zoo linux]$

- Arnaldo