blob: a865e34091f4bafd9072b597035c29b54d969596 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/patch-5.2-ck1 2019-09-15 09:50:19.754754121 -0400
+++ b/patch-5.2-ck1 2019-09-15 09:51:08.842070790 -0400
@@ -14886,7 +14886,10 @@ index 000000000000..ab972d0af7b5
+
+void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns,
+ struct seq_file *m)
-+{}
++{
++ seq_printf(m, "%s (%d, #threads: %d)\n", p->comm, task_pid_nr_ns(p, ns),
++ get_nr_threads(p));
++}
+
+void proc_sched_set_task(struct task_struct *p)
+{}
|