aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r--tools/perf/util/thread.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index 845d9b62f96f..1abef3b7455d 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -15,13 +15,11 @@ struct thread {
15}; 15};
16 16
17int thread__set_comm(struct thread *self, const char *comm); 17int thread__set_comm(struct thread *self, const char *comm);
18struct thread * 18struct thread *threads__findnew(pid_t pid);
19threads__findnew(pid_t pid, struct rb_root *threads, struct thread **last_match); 19struct thread *register_idle_thread(void);
20struct thread *
21register_idle_thread(struct rb_root *threads, struct thread **last_match);
22void thread__insert_map(struct thread *self, struct map *map); 20void thread__insert_map(struct thread *self, struct map *map);
23int thread__fork(struct thread *self, struct thread *parent); 21int thread__fork(struct thread *self, struct thread *parent);
24size_t threads__fprintf(FILE *fp, struct rb_root *threads); 22size_t threads__fprintf(FILE *fp);
25 23
26void maps__insert(struct rb_root *maps, struct map *map); 24void maps__insert(struct rb_root *maps, struct map *map);
27struct map *maps__find(struct rb_root *maps, u64 ip); 25struct map *maps__find(struct rb_root *maps, u64 ip);