From: Ingo Molnar Date: Thu, 17 Sep 2009 16:24:55 +0000 (+0200) Subject: perf sched: Determine the number of CPUs automatically X-Git-Tag: v2.6.32-rc1~628^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40749d0ff49f99c3661b336fe5e5625207bd925a;p=pandora-kernel.git perf sched: Determine the number of CPUs automatically For 'perf sched map' output, determine max_cpu automatically, instead of the static default of 15. [ v2: use sysconf() pointed out by Arjan van de Ven ] Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed