From: Jiri Olsa Date: Sun, 14 Jun 2015 08:19:17 +0000 (+0200) Subject: perf tools: Add thread_map__(alloc|realloc) helpers X-Git-Tag: omap-for-v4.3/legacy-v2-signed~210^2~1^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d7e8c3a96e5;p=pandora-kernel.git perf tools: Add thread_map__(alloc|realloc) helpers In order to have 'struct thread_map' allocation on single place and can change it easily in following patch. Using alloc|realloc for static helpers, because thread_map__new is already used in public interface. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1434269985-521-3-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed