From: Frederic Weisbecker Date: Mon, 3 Jan 2011 15:13:11 +0000 (+0100) Subject: perf: Fix callchain hit bad cast on ascii display X-Git-Tag: v2.6.37~6^2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d425de5436a620de506f9e4119bf8daa1cb93718;p=pandora-kernel.git perf: Fix callchain hit bad cast on ascii display ipchain__fprintf_graph() casts the number of hits in a branch as an int, which means we lose its highests bits. This results in meaningless number of callchain hits in perf.data that have a high number of hits recorded, typically those that have callchain branches hits appearing more than INT_MAX. This happens easily as those are pondered by the event period. Reported-by: Nick Piggin Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras --- Reading git-diff-tree failed