projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fff959
)
perf tools: Adapt the TASK_STATE_TO_CHAR_STR to new value in kernel space.
author
Dongsheng
<yangds.fnst@cn.fujitsu.com>
Mon, 5 May 2014 07:05:54 +0000
(16:05 +0900)
committer
Jiri Olsa
<jolsa@kernel.org>
Mon, 12 May 2014 08:01:49 +0000
(10:01 +0200)
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>
tools/perf/builtin-sched.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/builtin-sched.c
b/tools/perf/builtin-sched.c
index 7eae5011b690d641f195e65762a772f1a145a1ad..4f0dd21b5923517e720bc912fc5bbf99b52dfb98 100644
(file)
--- a/
tools/perf/builtin-sched.c
+++ b/
tools/perf/builtin-sched.c
@@
-66,7
+66,7
@@
struct sched_atom {
struct task_desc *wakee;
};
-#define TASK_STATE_TO_CHAR_STR "RSDTtZX"
+#define TASK_STATE_TO_CHAR_STR "RSDTtZX
xKWP
"
enum thread_state {
THREAD_SLEEPING = 0,