ftrace: improve seq_operation of ftrace
authorLiming Wang <liming.wang@windriver.com>
Fri, 28 Nov 2008 04:13:21 +0000 (12:13 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 11:30:40 +0000 (12:30 +0100)
commit50cdaf08a8ec1d7f43987705da7aff7cf949708f
treeb8c1b6072d907a196df4ef556cf6c0070b289b38
parentc7cc77307669336a08928ab8668bdb3f3bcc021b
ftrace: improve seq_operation of ftrace

Impact: make ftrace position computing more sane

First remove useless ->pos field. Then we needn't check seq_printf
in .show like other place.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c