]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
trace_stat: keep original order
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 25 Mar 2009 08:58:39 +0000 (16:58 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Mar 2009 17:32:34 +0000 (18:32 +0100)
commit220ba351dfa57eca4bec5ce0098a276446a47958
treee0990d566ef8c19a291ad871caaf94fdd3d57008
parente6f489013b985b58d096a3091ece0ed579367232
trace_stat: keep original order

Impact: make trace_stat files show items with the original order

trace_stat tracer reverse the items, it makes the output
looks a little ugly.

Example, when we read trace_stat/workqueues, we get cpu#7's stat.
at first, and then cpu#6... cpu#0.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <49C9F23F.5040307@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stat.c