From: Corey Ashford Date: Tue, 9 Nov 2010 02:20:45 +0000 (-0800) Subject: perf: Fix usages of profile_cpu in builtin-top.c to use cpu_list X-Git-Tag: v2.6.37-rc2~32^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01797c599816d39dfea47864c0f90cd50845811f;p=pandora-kernel.git perf: Fix usages of profile_cpu in builtin-top.c to use cpu_list profile_cpu was left over from an earlier implementation that supported running perf top on a single CPU. profile_cpu was no longer set by any switch and usages of it resulted in dead code. Instead, convert the code to use cpu_list, which is set by the -C option. Also improved the printing of nr_cpus and cpu_list by correcting the plurals. Signed-off-by: Corey Ashford Cc: a.p.zijlstra@chello.nl Cc: acme@redhat.com LKML-Reference: <1289269245-9388-1-git-send-email-cjashfor@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed