]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ftrace: fix hex output mode of ftrace
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 8 Oct 2008 23:51:49 +0000 (16:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:25 +0000 (10:39 +0200)
commit2fbc474901933c8f0c09b0280dfbb6780cb8bd60
treef73b8d74c1da044cecbba6c50e8b674ae885d425
parentddc7a01aad195708fc943d9446411d11e3547784
ftrace: fix hex output mode of ftrace

Fix the output of ftrace in hex mode as the hi/lo nibbles are output in
reverse order. Without this patch, the output of ftrace is:

raw mode : 6474 0 141531612444 0 140 + 6402 120 S
hex mode : 000091a4 00000000 000000023f1f50c1 00000000 c8 000000b2 00009120 87 ffff00c8 00000035

There is an inversion on ouput hex(6474) is 194a

[based on a patch by Philippe Reynes <tremyfr@yahoo.fr>]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c