]> Pileus Git - ~andy/linux/blobdiff - drivers/char/sysrq.c
Merge branch 'linus' into perfcounters/core
[~andy/linux] / drivers / char / sysrq.c
index b0a6a3e5192490c553b449146cadc5be34690349..aed2b2936ecf2442da35e95814501c0da372de9f 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/kbd_kern.h>
 #include <linux/proc_fs.h>
 #include <linux/quotaops.h>
+#include <linux/perf_counter.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/suspend.h>
@@ -243,6 +244,7 @@ static void sysrq_handle_showregs(int key, struct tty_struct *tty)
        struct pt_regs *regs = get_irq_regs();
        if (regs)
                show_regs(regs);
+       perf_counter_print_debug();
 }
 static struct sysrq_key_op sysrq_showregs_op = {
        .handler        = sysrq_handle_showregs,