patch
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 49283b8103c7..2a5d9e6b1afc 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -128,8 +128,10 @@ static const char * const task_state_array[] = {
"R (running)", /* 0x00 */
"S (sleeping)", /* 0x01 */
"D (disk sleep)", /* 0x02 */
- "T (stopped)", /* 0x04 */
- "t (tracing stop)", /* 0x08 */
+ //"T (stopped)", /* 0x04 */
+ //"t (tracing stop)", /* 0x08 */
+ "S (sleeping)", //替换
+ "S (sleeping)", //替换
"X (dead)", /* 0x10 */
"Z (zombie)", /* 0x20 */
"P (parked)", /* 0x40 */
@@ -180,6 +182,7 @@ static inline void task_state(struct seq_file *m, struct pid_namespace *ns,
seq_puts(m, "State:\t");
seq_puts(m, get_task_state(p));
+ tpid=0; //修改racerpid 永远为0
seq_put_decimal_ull(m, "\nTgid:\t", tgid);
seq_put_decimal_ull(m, "\nNgid:\t", ngid);
seq_put_decimal_ull(m, "\nPid:\t", pid_nr_ns(pid, ns));
diff --git a/fs/proc/base.c b/fs/proc/base.c
index e1105906fdd0..95c9cb148000 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -406,6 +406,11 @@ static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,
wchan = get_wchan(task);
if (wchan && !lookup_symbol_name(wchan, symname)) {
+
+ if(strstr(symname,"trace")){
+ seq_puts(m, "sys_epoll_wait");
+ return 0;
+ }
seq_puts(m, symname);
return 0;
}