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

From: Arnaldo Carvalho de Melo
Date: Wed Jun 10 2015 - 16:18:16 EST


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