From: Lai Jiangshan Date: Tue, 28 Jul 2009 12:26:06 +0000 (+0800) Subject: tracing: Simplify print_graph_cpu() X-Git-Tag: v2.6.32-rc1~718^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9e6f639aed490202bbc79214f4495cf4bfde58;p=pandora-kernel.git tracing: Simplify print_graph_cpu() print_graph_cpu() is little over-designed. And "log10_all" may be wrong when there are holes in cpu_online_mask: the max online cpu id > cpumask_weight(cpu_online_mask) So change it by using a static column length for the cpu matching nr_cpu_ids number of decimal characters. Signed-off-by: Lai Jiangshan Cc: Steven Rostedt LKML-Reference: <4A6EEE5E.2000001@cn.fujitsu.com> Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed