Re: [PATCH 04/25] perf tools: Add reference counting for thread_map object

From: Jiri Olsa
Date: Wed Jun 10 2015 - 16:24:30 EST


On Wed, Jun 10, 2015 at 04:08:25PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 10, 2015 at 08:10:37PM +0200, Jiri Olsa escreveu:
> > Adding refference counting for thread_map object, so
> > it could be easily shared among other objects.
> >
> > Using thread_map__put instead thread_map__delete and making
> > thread_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
--
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/