From: Frederic Weisbecker Date: Wed, 7 Oct 2009 10:47:31 +0000 (+0200) Subject: perf tools: Unify perf.data mapping and events handling X-Git-Tag: v2.6.33-rc1~399^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016e92fbc9ef33689cf654f343a94383d43235e7;p=pandora-kernel.git perf tools: Unify perf.data mapping and events handling This librarizes the perf.data file mapping and handling in various perf tools, roughly reducing the amount of code and fixing the places that mmap from beginning of the file whereas we want to mmap from the beginning of the data, leading to page fault because the mmap window is too small since the trace info are written in the file too. TODO: - convert perf timechart too Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arjan van de Ven LKML-Reference: <20091007104729.GD5043@nowhere> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed