git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9963c
)
tracing: Simplify print_graph_cpu()
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Tue, 28 Jul 2009 12:26:06 +0000
(20:26 +0800)
committer
Frederic Weisbecker
<fweisbec@gmail.com>
Thu, 6 Aug 2009 05:28:04 +0000
(07:28 +0200)
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>
kernel/trace/trace_functions_graph.c
patch
|
blob
|
history
diff --cc
kernel/trace/trace_functions_graph.c
Simple merge