diff options
Diffstat (limited to 'tools/perf/util/thread.h')
| -rw-r--r-- | tools/perf/util/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 32aea3c1c2ad..693ed1ea10b4 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | #ifndef __PERF_THREAD_H | ||
| 2 | #define __PERF_THREAD_H | ||
| 3 | |||
| 1 | #include <linux/rbtree.h> | 4 | #include <linux/rbtree.h> |
| 2 | #include <linux/list.h> | 5 | #include <linux/list.h> |
| 3 | #include <unistd.h> | 6 | #include <unistd.h> |
| @@ -20,3 +23,5 @@ void thread__insert_map(struct thread *self, struct map *map); | |||
| 20 | int thread__fork(struct thread *self, struct thread *parent); | 23 | int thread__fork(struct thread *self, struct thread *parent); |
| 21 | struct map *thread__find_map(struct thread *self, u64 ip); | 24 | struct map *thread__find_map(struct thread *self, u64 ip); |
| 22 | size_t threads__fprintf(FILE *fp, struct rb_root *threads); | 25 | size_t threads__fprintf(FILE *fp, struct rb_root *threads); |
| 26 | |||
| 27 | #endif /* __PERF_THREAD_H */ | ||
