summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-07-14 17:16:15 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-08 03:24:47 +0400
commiteea203fea3484598280a07fe503e025e886297fb (patch)
tree7456a2d44438ebbb4badad2d1a3818008c85c1d4 /include/linux
parent188c1e896c0c28ac98809d11b6f29523805b34ef (diff)
downloadlinux-eea203fea3484598280a07fe503e025e886297fb.tar.xz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/torture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/torture.h b/include/linux/torture.h
index 5ca58fcbaf1b..fec46f8c08eb 100644
--- a/include/linux/torture.h
+++ b/include/linux/torture.h
@@ -51,7 +51,7 @@
/* Definitions for online/offline exerciser. */
int torture_onoff_init(long ooholdoff, long oointerval);
-char *torture_onoff_stats(char *page);
+void torture_onoff_stats(void);
bool torture_onoff_failures(void);
/* Low-rider random number generator. */