Re: [PATCH 03/25] perf tools: Add reference counting for cpu_map object

Jiri Olsa
2015-06-10T20:07:38Z

On Wed, Jun 10, 2015 at 04:07:46PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 10, 2015 at 08:10:36PM +0200, Jiri Olsa escreveu:
> > Adding refference counting for cpu_map object, so
> > it could be easily shared among other objects.
> >
> > Using cpu_map__put instead cpu_map__delete and making
> > cpu_map__delete static.
>
> Please use atomic.h, as was done recently for the 'map', 'dso' and
> 'thread' structs, but other than that, its fine.

ook,

jirka