diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-10-03 12:30:24 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-10-03 12:30:24 -0400 |
| commit | 4b50239a769e78bbe362fc92c3f8bd5415a4a5f5 (patch) | |
| tree | 951832e213945ede19cd676a04e5218e68afd074 /tools/perf/util/thread.h | |
| parent | a47ba4d77e1236d214e5116b5631bc4c2d6e6369 (diff) | |
| parent | f6a9820d572bd8384d982357cbad214b3a6c04bb (diff) | |
Merge tag 'perf-core-for-mingo-4.15-20171003' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
- Multithread the synthesizing of PERF_RECORD_ events for pre-existing
threads in 'perf top', speeding up that phase, greatly improving the
user experience in systems such as Intel's Knights Mill (Kan Liang)
- 'perf test' fixes for the perf_event_attr test case (Jiri Olsa, Thomas Richter)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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; |
