diff options
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r-- | tools/perf/util/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index cb1a5dd5c2b9..10555d6a0b86 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #include "symbol.h" | 9 | #include "symbol.h" |
10 | #include <strlist.h> | 10 | #include <strlist.h> |
11 | #include <intlist.h> | 11 | #include <intlist.h> |
12 | #include "rwsem.h" | ||
12 | 13 | ||
13 | struct thread_stack; | 14 | struct thread_stack; |
14 | struct unwind_libunwind_ops; | 15 | struct unwind_libunwind_ops; |
@@ -29,7 +30,9 @@ struct thread { | |||
29 | int comm_len; | 30 | int comm_len; |
30 | bool dead; /* if set thread has exited */ | 31 | bool dead; /* if set thread has exited */ |
31 | struct list_head namespaces_list; | 32 | struct list_head namespaces_list; |
33 | struct rw_semaphore namespaces_lock; | ||
32 | struct list_head comm_list; | 34 | struct list_head comm_list; |
35 | struct rw_semaphore comm_lock; | ||
33 | u64 db_id; | 36 | u64 db_id; |
34 | 37 | ||
35 | void *priv; | 38 | void *priv; |