From: Stephane Eranian Date: Fri, 28 May 2010 10:08:01 +0000 (+0200) Subject: perf report: Make -D print sampled CPU X-Git-Tag: v2.6.36-rc1~532^2~86^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761844b9c68b3c67b085265f92ac0675706cc3b3;p=pandora-kernel.git perf report: Make -D print sampled CPU It is useful to know on which CPU a sample was captured on. The information is captured with perf record -R but it was not printed out by perf report -D. This patch adds this. When -R is not used, cpu is set to -1to indicate that the CPU is unknown (it is not captured). Cc: David S. Miller Cc: Frédéric Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Tom Zanussi LKML-Reference: <4bff964c.e88cd80a.3106.7d31@mx.google.com> Signed-off-by: Stephane Eranian Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed