rcu: Use pr_alert/pr_cont for printing logs
authorJoe Perches <joe@perches.com>
Mon, 14 Jul 2014 13:16:15 +0000 (09:16 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:24:47 +0000 (16:24 -0700)
commiteea203fea3484598280a07fe503e025e886297fb
tree7456a2d44438ebbb4badad2d1a3818008c85c1d4
parent188c1e896c0c28ac98809d11b6f29523805b34ef
rcu: Use pr_alert/pr_cont for printing logs

User pr_alert/pr_cont for printing the logs from rcutorture module directly
instead of writing it to a buffer and then printing it. This allows us from not
having to allocate such buffers. Also remove a resulting empty function.

I tested this using the parse-torture.sh script as follows:

$ dmesg | grep torture > log.txt
$ bash parse-torture.sh log.txt test
$

There were no warnings which means that parsing went fine.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/torture.h
kernel/rcu/rcutorture.c
kernel/torture.c