diff options
author | Dongsheng <yangds.fnst@cn.fujitsu.com> | 2014-05-05 03:05:54 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-12 04:01:49 -0400 |
commit | e936e8e459e14af7432a775f8139a79b71e41afc (patch) | |
tree | 8a0d99f382e5d9118f28db07955877c52db01307 /tools/perf/builtin-sched.c | |
parent | 7fff959783949b2f50454c49e325697073f48dc0 (diff) |
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: Dongsheng <yangds.fnst@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/6d2f55dc1e02c1e29a5d70bfeb9d6e8863caf2aa.1399273302.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r-- | tools/perf/builtin-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 7eae5011b690..4f0dd21b5923 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -66,7 +66,7 @@ struct sched_atom { | |||
66 | struct task_desc *wakee; | 66 | struct task_desc *wakee; |
67 | }; | 67 | }; |
68 | 68 | ||
69 | #define TASK_STATE_TO_CHAR_STR "RSDTtZX" | 69 | #define TASK_STATE_TO_CHAR_STR "RSDTtZXxKWP" |
70 | 70 | ||
71 | enum thread_state { | 71 | enum thread_state { |
72 | THREAD_SLEEPING = 0, | 72 | THREAD_SLEEPING = 0, |