]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk/tracing: rework console tracing
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Wed, 20 Mar 2013 04:07:33 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:33:57 +0000 (16:33 +1100)
commit5af88995a9879e527a3f7195e628d38bea348269
tree6d4a1fa56a07900b87b8fd417de6aa407a00b1be
parentce2a347f9e20e9448e2c4b4464c770c6758b9f54
printk/tracing: rework console tracing

commit 7ff9554bb ("printk: convert byte-buffer to variable-length record
buffer") removed start and end parameters in call_console_drivers, but
those parameters still exists in include/trace/events/printk.h.

Without start and end parameters handling, printk tracing became more
simple as: trace_console(text, len);

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/trace/events/printk.h
kernel/printk.c