diff options
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r-- | tools/perf/util/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 4e9724270a64..8702c6b4163a 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __PERF_THREAD_H | 2 | #define __PERF_THREAD_H |
3 | 3 | ||
4 | #include <linux/rbtree.h> | 4 | #include <linux/rbtree.h> |
5 | #include <linux/list.h> | ||
5 | #include <unistd.h> | 6 | #include <unistd.h> |
6 | #include <sys/types.h> | 7 | #include <sys/types.h> |
7 | #include "symbol.h" | 8 | #include "symbol.h" |
@@ -18,7 +19,7 @@ struct thread { | |||
18 | char shortname[3]; | 19 | char shortname[3]; |
19 | bool comm_set; | 20 | bool comm_set; |
20 | bool dead; /* if set thread has exited */ | 21 | bool dead; /* if set thread has exited */ |
21 | char *comm; | 22 | struct list_head comm_list; |
22 | int comm_len; | 23 | int comm_len; |
23 | 24 | ||
24 | void *priv; | 25 | void *priv; |