Re: [PATCH 07/30] perf tools: Add reference counting for thread_map object

2015-06-15 Thread Jiri Olsa
On Mon, Jun 15, 2015 at 04:25:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Jun 14, 2015 at 10:19:22AM +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__de

Re: [PATCH 07/30] perf tools: Add reference counting for thread_map object

2015-06-15 Thread Arnaldo Carvalho de Melo
Em Sun, Jun 14, 2015 at 10:19:22AM +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. > +struct thread_map *thread_map__g