diff options
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r-- | tools/perf/util/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 2e35e1f6bb43..e93abf2d9cb6 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
@@ -23,11 +23,11 @@ struct thread { | |||
23 | void map_groups__init(struct map_groups *self); | 23 | void map_groups__init(struct map_groups *self); |
24 | int thread__set_comm(struct thread *self, const char *comm); | 24 | int thread__set_comm(struct thread *self, const char *comm); |
25 | int thread__comm_len(struct thread *self); | 25 | int thread__comm_len(struct thread *self); |
26 | struct thread *threads__findnew(pid_t pid); | 26 | struct thread *perf_session__findnew(struct perf_session *self, pid_t pid); |
27 | void thread__insert_map(struct thread *self, struct map *map); | 27 | void thread__insert_map(struct thread *self, struct map *map); |
28 | int thread__fork(struct thread *self, struct thread *parent); | 28 | int thread__fork(struct thread *self, struct thread *parent); |
29 | size_t map_groups__fprintf_maps(struct map_groups *self, FILE *fp); | 29 | size_t map_groups__fprintf_maps(struct map_groups *self, FILE *fp); |
30 | size_t threads__fprintf(FILE *fp); | 30 | size_t perf_session__fprintf(struct perf_session *self, FILE *fp); |
31 | 31 | ||
32 | void maps__insert(struct rb_root *maps, struct map *map); | 32 | void maps__insert(struct rb_root *maps, struct map *map); |
33 | struct map *maps__find(struct rb_root *maps, u64 addr); | 33 | struct map *maps__find(struct rb_root *maps, u64 addr); |