From: Frederic Weisbecker Date: Sun, 22 Aug 2010 18:05:22 +0000 (+0200) Subject: perf: Keep track of the max depth of a callchain X-Git-Tag: v2.6.37-rc1~214^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2009c5130b627d3efccae8ed36cd43450c8486d;p=pandora-kernel.git perf: Keep track of the max depth of a callchain In order to implement callchains collapsing, we need to keep track of the maximum depth in a histogram tree of callchains. This way we'll avoid allocating an arbitrary temporary buffer size on callchain merge time. Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Christoph Hellwig --- Reading git-diff-tree failed