diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-07-28 20:26:06 +0800 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-06 07:28:04 +0200 |
commit | 0c9e6f639aed490202bbc79214f4495cf4bfde58 (patch) | |
tree | 0df6f05086a033ec49995fe1cd3fde5474446cdb /arch | |
parent | 1f9963cbb0280e0cd554161e00f1a0eeddbf1ae1 (diff) |
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 <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4A6EEE5E.2000001@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions