factor out code and clean it up.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
#include <linux/kallsyms.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
-#include <linux/kthread.h>
#include <linux/hardirq.h>
-#include <linux/ftrace.h>
+#include <linux/kthread.h>
#include <linux/uaccess.h>
+#include <linux/ftrace.h>
#include <linux/sysctl.h>
-#include <linux/hash.h>
#include <linux/ctype.h>
+#include <linux/hash.h>
#include <linux/list.h>
#include "trace.h"