From: Pekka Paalanen Date: Mon, 12 May 2008 19:21:02 +0000 (+0200) Subject: ftrace: add readpos to struct trace_seq; add trace_seq_to_user() X-Git-Tag: v2.6.27-rc1~1102^2^2~1^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6c27969a4c6024e6c8838829546c02aaddca18;p=pandora-kernel.git ftrace: add readpos to struct trace_seq; add trace_seq_to_user() Refactor code from tracing_read_pipe() and create trace_seq_to_user(). Moved trace_seq_reset() call before iter->trace->read() call so that when all leftover data is returned, trace_seq is reset automatically. Signed-off-by: Pekka Paalanen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed