Re: [PATCH 01/22] perf thread_map: Introduce thread_map__reset function

2015-06-26 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 26, 2015 at 11:29:06AM +0200, Jiri Olsa escreveu: > We need to reset newly allocated 'struct thread_map_data' entries, > because we will introduce new comm memeber, which will get set > later or not at all. And this is an array that never shrinks, right? At least current usage just ma

[PATCH 01/22] perf thread_map: Introduce thread_map__reset function

2015-06-26 Thread Jiri Olsa
We need to reset newly allocated 'struct thread_map_data' entries, because we will introduce new comm memeber, which will get set later or not at all. Link: http://lkml.kernel.org/n/tip-hg8xtux446qyjqkkcezwk...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/thread_map.c | 17 +++