From: Arnaldo Carvalho de Melo Date: Fri, 11 Dec 2009 23:24:02 +0000 (-0200) Subject: perf tools: Introduce perf_session class X-Git-Tag: v2.6.33-rc1~280^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c744b6c0c6c5802a85ebfebbec429ac5851f2b;p=pandora-kernel.git perf tools: Introduce perf_session class That does all the initialization boilerplate, opening the file, reading the header, checking if it is valid, etc. And that will as well have the threads list, kmap (now) global variable, etc, so that we can handle two (or more) perf.data files describing sessions to compare. Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <1260573842-19720-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed