]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - include/linux/sched.h
[PATCH] SysRq-X: show blocked tasks
[mirror_ubuntu-kernels.git] / include / linux / sched.h
index 837a012f573c2d96df876e7ca70644411c9f625b..0a90cefb0b0dec33ba7452d9dc04a32f056e9d09 100644 (file)
@@ -194,7 +194,16 @@ extern void init_idle(struct task_struct *idle, int cpu);
 
 extern cpumask_t nohz_cpu_mask;
 
-extern void show_state(void);
+/*
+ * Only dump TASK_* tasks. (-1 for all tasks)
+ */
+extern void show_state_filter(unsigned long state_filter);
+
+static inline void show_state(void)
+{
+       show_state_filter(-1);
+}
+
 extern void show_regs(struct pt_regs *);
 
 /*