提交 e936e8e4 编写于 作者: D Dongsheng 提交者: Jiri Olsa

perf tools: Adapt the TASK_STATE_TO_CHAR_STR to new value in kernel space.

Currently, TASK_STATE_TO_CHAR_STR in kernel space is already expanded to RSDTtZXxKWP,
but it is still RSDTtZX in perf sched tool.

This patch update TASK_STATE_TO_CHAR_STR to the new value in kernel space.
Signed-off-by: NDongsheng <yangds.fnst@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/6d2f55dc1e02c1e29a5d70bfeb9d6e8863caf2aa.1399273302.git.yangds.fnst@cn.fujitsu.comSigned-off-by: NJiri Olsa <jolsa@kernel.org>
上级 7fff9597
...@@ -66,7 +66,7 @@ struct sched_atom { ...@@ -66,7 +66,7 @@ struct sched_atom {
struct task_desc *wakee; struct task_desc *wakee;
}; };
#define TASK_STATE_TO_CHAR_STR "RSDTtZX" #define TASK_STATE_TO_CHAR_STR "RSDTtZXxKWP"
enum thread_state { enum thread_state {
THREAD_SLEEPING = 0, THREAD_SLEEPING = 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册